Cancel
Showing results for 
Search instead for 
Did you mean: 

AME2SLcosim simulink component

Experimenter
Experimenter

Hi,

 

I am having a problem loading the AME2SLcosim simulink component, when I try to open the mex file created from my amesim model this log appears in the matlab command window.

Capture.JPG

5 REPLIES

Re: AME2SLcosim simulink component

Siemens Phenom Siemens Phenom
Siemens Phenom

Hi,

 

What Matlab/Simulink version are you using?

Have you been able to use the import previously?

Finally, are you launching Matlab from the Amesim menu? This helps to configure Matlab properly.

 

The main thing is to have a MATLAB environment variable pointing to your Matlab installation folder.

 

Emmanuel

Re: AME2SLcosim simulink component

Experimenter
Experimenter

Hi Emmanuel,

 

MATLAB    Version 9.0         (R2016a)
Simulink  Version 8.7          (R2016a)

I haven't been able to import it previously using the amesim component (from LMS AMESim interfaces library)  however I am able to run it when I use a S function (from user-defined functions library). However now I'm running to issues when I want to select my solver, so thats why I want to use your built in S-function to carry the work I'm doing.

 

I have checked that my MATLAB variable is set to the installation folder.

 

Cheers,

 

Pawel

 

Re: AME2SLcosim simulink component

Siemens Phenom Siemens Phenom
Siemens Phenom

We've used 2016a successfully.

 

1. What Amesim version are you using?

2. Have you launched Matlab from Amesim menu Tools/Start Matlab...

Re: AME2SLcosim simulink component

Experimenter
Experimenter

I am using AMESim version 15.1 and yes I have been opening matlab through AMESim, sorry forgot to add that to my last post.

 

 

Re: AME2SLcosim simulink component

Siemens Phenom Siemens Phenom
Siemens Phenom

For completion, the solution here was to put $AME/win64 at the begining of $PATH environment variable.