Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Problem using the /r and -nojvm options together

Subject: Problem using the /r and -nojvm options together

From: Andrew

Date: 1 Jul, 2010 00:48:05

Message: 1 of 1

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

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us