3

I am trying to open Matlab from Terminal on Mac using the following command:

/Applications/MATLAB_R2016b.app/bin/matlab -nodesktop -nodisplay

It works well on Matlab 2015a, b, 2014a, b.

But with Matlab 2016b on a new computer, I got this error message:

Fatal Error on startup: std::exception: dlopen(libncurses.dylib, 10): image not found: No such file or directory

krlzlx
5,83114 gold badges51 silver badges60 bronze badges
asked Nov 10, 2016 at 19:58

1 Answer 1

1

You have to tell Matlab explicitly where the library is located.

Run this line in the Terminal before you startup Matlab:

export DYLD_FALLBACK_LIBRARY_PATH="/usr/lib/:$DYLD_LIBRARY_PATH"
answered Mar 26, 2018 at 15:47
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.