How to solve Invalid MEX-file
Show older comments
Hello.
When I use the below code, I got this error.
Can I get an idea to solve the problem?

4 Comments
Walter Roberson
on 14 Mar 2020
Which MacOS release are you using?
Does the code (or script used to invoke the code) try to set the DYLD_LIBRARY_PATH or LD_LIBRARY_PATH environment variable, or do you have a .bashrc or similar that sets one of those?
Some related technical magic is discussed at https://stackoverflow.com/questions/17703510/dyld-library-not-loaded-reason-image-not-found
Walter Roberson
on 14 Mar 2020
Is it different with OS?
Yes, MacOS started changing the effect of LD_LIBRARY_PATH in Sierra. You are using Catalina, which
Are you using "NuMax, a highly efficient algorithm for constructing near-isometric linear embeddings for arbitrary datasets" such as from http://people.csail.mit.edu/chinmay/resources.html ?
Kong
on 14 Mar 2020
Accepted Answer
More Answers (0)
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!