This repository contains a set of scripts that test the behavior of MATLAB, sometimes illustrate its bugs.
-
crash
illustrates a bug of the Linux version of MATLAB (up to R2023b) concerningMEX
. [README] -
test_compiler
tests which versions ofgfortran
are supported by MATLAB to mexify Fortran code; the result differs from the (initial) official documentation of MathWorks; particularly, MATLAB R2022a does not supportgfortran 8.x
as claimed. -
test_copyfile
illustrates a bug of MATLAB (up to R2023b) concerningcopyfile
on Linux and macOS. -
test_mac
shows that the MEX of MATLAB R2023b (update 6 as of February 15, 2024) does not work with Xcode 15 and Intel oneAPI 2023. This differs from the official documentation. -
mex_time
tests the running time of MATLAB concerningMEX
, in particular on GitHub Actions. [README]
-
StackOverflow: Does MEX of MATLAB R2023b (update 6) on macOS-13 work with Xcode 15.0 and Intel oneAPI 2023?
-
MATLAB Answer: Does MEX of MATLAB R2023b (update 6) on macOS-13 work with Xcode 15.0 and Intel oneAPI 2023?
-
GitHub issue of
matlab-actions/setup-matlab
: MEX of MATLAB R2023b provided by setup-matlab@v2 does not work with Xcode 15.0 and Intel oneAPI 2023 -
StackOverflow: Strange behavior of
copyfile
regarding symlinks on Linux and macOS -
MATLAB Answer: Strange behavior of
copyfile
regarding symlinks on Linux and macOS -
GitHub issue of
matlab-actions/setup-matlab
: MATLAB R2022a: MEX does not support the Fortran compilers specified in the official documentation -
StackOverflow: Does MATLAB R2022a support gfortran 8.x on Linux (as specified by the documentation)?
-
MATLAB Answer: MATLAB R2022a: MEX does not support the Fortran compilers on Linux as specified in the official documentation
-
GitHub issue of
matlab-actions/setup-matlab
: MEX is much slower on macOS than on Linux -
StackOverflow: Is MEX of MATLAB known to be slow on macOS?
-
MATLAB Answers: Is MEX known to be slow on macOS?
-
GitHub issue of
matlab-actions/setup-matlab
: MATLAB crashes when mexifying the officialtimestwo.F
-
MATLAB Answers: Bug: MATLAB crashes when mexifying the official
timestwo.c
Feel free to contact me if have suggestions or questions. See my homepage for contact information.