How to solve Invalid MEX-file

Hello.
When I use the below code, I got this error.
Can I get an idea to solve the problem?

4 Commenti

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?
Kong
Kong il 14 Mar 2020
Modificato: Kong il 14 Mar 2020
Thank you.
I am using a macOS.(version 10.14.6.)
Is it related to OS?
Frankly, I don't know what DYLD_LIBRARY_PATH or LD_LIBRARY_PATH is?
I attached file that I am using.
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
Kong il 14 Mar 2020
How can I change Catalina to LD_LIBRARY_PATH?

Accedi per commentare.

 Risposta accettata

I was able to work around parts of the problem by copying libraries into appropriate places. However, I then get
Symbol not found: _mxGetDimensions_700
When I check into that, I see that the code has been compiled for 32 bit MATLAB, which has not been available on Mac for some time, and will absolutely not run on Catalina (the operating system you have.)
I have just now sent a message to the author of the program about the difficulty.

Più risposte (0)

Categorie

Scopri di più su Programming in Centro assistenza e File Exchange

Richiesto:

il 14 Mar 2020

Commentato:

il 14 Mar 2020

Community Treasure Hunt

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

Start Hunting!

Translated by