This repository contains a set of scripts that test the behavior of MATLAB, sometimes illustrate its bugs.
-
test_parforillustrates a bug of MATLAB R2023a+ concerningparfor[README]. -
segfault_2025aillustrates a bug in MATLAB R2025a MEX when handling internal subroutines in Fortran. [README] -
crashillustrates a bug of the Linux version of MATLAB (up to R2023b) concerningMEX. [README] -
test_compilertests which versions ofgfortranare supported by MATLAB to mexify Fortran code; the result differs from the (initial) official documentation of MathWorks; particularly, MATLAB R2022a does not supportgfortran 8.xas claimed. -
test_copyfileillustrates a bug of MATLAB (up to R2023b) concerningcopyfileon Linux and macOS. -
test_macshows 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_timetests the running time of MATLAB concerningMEX, in particular on GitHub Actions. [README]
-
StackOverflow: An issue with
parforin MATLAB R2023a--R2025a -
MATLAB Answer: An issue with
parforin MATLAB R2023a--R2025a -
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
copyfileregarding symlinks on Linux and macOS -
MATLAB Answer: Strange behavior of
copyfileregarding 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 -
StackOverflow: Bug of MATLAB 2025a: segfaults on Ubuntu when handling Fortran MEX files with internal subroutines
-
MATLAB Answers: Bug: MATLAB 2025a segfaults on Ubuntu when handling Fortran MEX files with internal subroutines
Feel free to contact me if have suggestions or questions. See my homepage for contact information.