From: Andrew on
Hello all,

I'm having a problem using the /r and -nojvm switches together.

I can start Matlab with the -nojvm switch and manually call my mex function from the command line and everything works fine.

I can call my mex function at started up via the /r switch with the JVM enabled and everthing works fine.

But when I use the -nojvm /r switches together, I get the popup box error:

"This application has failed to start because "my_link.dll" was not found. Re-installing the application may fix this problem"

where my mex file was linked against "my_link.lib". my_link.dll is in the path (the "which" command finds it). This sounded like a run time libraries thing to me, but I don't understand why the two startup options together would cause this problem.

I'm using R2006a. Any help on the above problem would be great,

Thanks,
Andrew