I am new user in Amesim, I am trying to export an S-function for Simulink but I have a problem.
I read this guide (https://community.plm.automation.siemens.com/t5/1D-Simulation-Knowledge-Base/Tips-amp-tricks-How-to-...) to install all the softwares required.
I am working on a Windows 7 64 bit virtual machine, this is the list of the softwares:- Matlab 2017a- Amesim 15
- Windows SDK 7.1
When I try to compile the model I receive this error (the complete log of the compilation is attached).
"NMAKE : fatal error U1077: '"C:\Program Files (x86)\LMS\LMS Imagine.Lab\v1500\Amesim\interfaces\simulink\win32\amemex.EXE"' : return code '0xffffffff'
\LMS\LMS was unexpected at this time."
The model is a simple example:
Can anyone help me to solve this problem? I don't undertand what is its cause and I don't find a solution.
Solved! Go to Solution.
When Amesim 15 was released it was only tested up to Simulink 2016a - which was the current Simulink version at the time. I believe 2016b will also work fine.
But there is an issue with 2017a.
In short, if you can install an earlier Simulnk version I think it should work.
Will try to get more info on that.
I faced similar issue some time back.
I concluded that (while using the Windows SDK 7.1 compiler)
Either you should upgrade Amesim to 15.2 or go to an older version of Matlab (2015b or 2016a)