MATLAB engine for python

3 views (last 30 days)
Siheng on 3 Oct 2014
Commented: Muhammad Sinan on 18 Sep 2020
I have downloaded the newest MATLAB2014b and tried the MATLAB engine for python. The platform is MacOS 10.9. I have no problems running the in /Applications/MATLAB_R2014b/bin/extern/engines/python/ After that, when I try
import matlab.engine
it always crashes the python and shows the error message:
Segmentation fault: 11

Accepted Answer

Sarah Palfreyman
Sarah Palfreyman on 3 Oct 2014
Edited: Sarah Palfreyman on 3 Oct 2014
Hi Siheng,
Which version of Python are you using? Do you have more than one version of Python installed (ex verisons 2.7.5 and 2.7.2)?
Can you try reinstalling the Python engine by calling
/System/Library/Frameworks/Python.framework/Versions/2.7/bin/python install
and then try calling Python by the correct full PATH
Thanks, Sarah
Muhammad Sinan
Muhammad Sinan on 18 Sep 2020
Hello dear Sarah Palfreyman.
I have installed the MATLAB R2020a version and followed this video []. But after all the jupyter notebook does not run and says the "matlab engine is not installed".

Sign in to comment.

More Answers (0)


Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!