Showing results for 
Search instead for 
Do you mean 

AMESIM Simulink co-simulation



When i try to run the  Simulink model, it stops with an error unable to find S-function.


S-Function( AMESIM PLATFORM) is there but it is not working.


Is it because of compiler issue? or environment variable issue?


Also i have installed all the things needed for VC++ Compiler, what you have said in earlier blogs.


AMERun Ver R13 SL2







Re: AMESIM Simulink co-simulation

Good afternoon SriniS,


Some few checks concerning your issue:

  • Simulink subsystem name must differs from Amesim models that will be imported.
  • Amesim model must be open (otherwise the S-function might be encapsulated in .ame archive)
  • Amesim S-function must be located in same direcotry than Matlab one.
  • Binaries must be compatible (generates a 64 bits S-function if you want to use 64 bits Matlab version).

Can you check all these points?




Re: AMESIM Simulink co-simulation

Hello Blac,


Yes my simulink model name and Amesim model name are different.


My Amesim is open only.


I need to know whether amesim has created S-Function or not? How check this.