mil-sil-hil
Using the Simulink to Simcenter Amesim Interface
The Simulink to Simcenter Amesim interface enables you to construct a model of a subsystem in Simulink and to import it to a Simcenter Amesim submodel.
In SL2AMECosim, "SL2AME" stands for "Simulink to Simcenter Amesim" interface. This interface enables you to export a Simulink model to Simcenter Amesim.
The Simulink to Simcenter Amesim interface creates C code from a Simulink model using the Simulink Coder. The C code is generated in such a way that it can be used in Simcenter Amesim as a normal submodel.
Due to the existing limitations of the Simulink Coder, the generated submodel code will use the fixed-step Simulink solver.
This method (co-simulation) is robust and not very sensitive to changes in the Simulink Coder. See the Requirements section for more details regarding SL2AMECosim. During the code export, some parameters of the Simulink model can be hidden. This means that it is possible to generate "black box" type submodels for Simcenter Amesim.
Note
The Simulink to Simcenter Amesim interface is not compatible with the Continuation Run feature. Indeed, due to a Simulink Coder limitation, it is not possible to start simulations of imported Simulink models (SL2AMECosim blocks) at initial values other than 0.
Source: https://docs.sw.siemens.com/en-US/doc/254352342/PL20250521841123434.amesim_collection.Simulink/Using_the_Simulink_to_LMS_Amesim_Interface · retrieved 2026-07-17