Showing results for 
Search instead for 
Do you mean 
Reply
Solved! Go to solution

cannot start matlab 2016a from amesim 15

i want to start matlab 2016a from amesim 15  (tools start matlab...)  always it give me this error

 

Windows cannot find C:\MATLAB\R2016a\bin\win64\bin\win32\matlab.exe

4 REPLIES

Re: cannot start matlab 2016a from amesim 15

[ Edited ]

Dear Magdy,

 

LMS Amesim uses the MATLAB enviromental variable to launch matlab.

I can see from the error message that the variable might be set to the wrong path: it has the "bin" folder twice, since LMS Amesim will append the "bin\win32\matlab.exe" the the value of the MATLAB variable.

 

If I was you I would first confirm that my matlab executable (the matlab.exe file) is located in the C:\MATLAB\R2016a\bin\win32\matlab.exe path. And then I would update the MATLAB to C:\MATLAB\R2016a (as suggested below).

 

You can get more help in LMS Amesim's online help (by pressing F1 or clicking the Help menu on the top then on Online). Once the help opens, click on the "Search" tab, then type in "matlab".

The first result should be " Simulink Interface: Setting up the environment". This chapter will help you confirm and set up the interface to matlab.

 

I hope this helps!

Br,

ElecKid

Solution
Solution
Accepted by topic author magdy
‎04-03-2017 02:39 PM

Re: cannot start matlab 2016a from amesim 15

Hi @magdy

 

to be more precise you probably defined your environment variable to C:\MATLAB\R2016a\bin\win64\ instead of C:\MATLAB\R2016a.

 

Kind regards

Re: cannot start matlab 2016a from amesim 15

thanks for ur support Smiley Wink

Re: cannot start matlab 2016a from amesim 15

Thanks you for ur help

its work now Smiley Wink