MATLAB: How to solve Invalid MEX-file

invalid mex file

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

Best Answer

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.