Using the Simcenter Amesim to Simulink Interface > Using the Simcenter Amesim-Simulink Black-box interface
Importing Black-box models into Simulink using amecreatebbmask command
We will now create the black-box S-function in Simulink. From the subsystem containing the standard interface AM2SL block, open the main interface window. After setting run and model parameters using the interface as shown in Importing the model into Simulink, press the Create black-box icon .
A new subsystem is created including the Simcenter Amesim black-box S-Function as shown in the following figure.
Figure 47: Creating an ASBB S-Function from the AME2SL interface
This S-Function can be used in any Simulink sketch. Double-clicking on it allows you to access the global parameters of the embedded Simcenter Amesim model (Fig 1.ac). For example, the AME2SL block of the Simulink subsystem can be removed and replaced by this newly created S-Function.
Figure 48: Mask of the ASBB S-Function
Source: https://docs.sw.siemens.com/en-US/doc/254352342/PL20250521841123434.amesim_collection.Simulink/Importing_Blackbox_models_into_Simulink_using_amecreatebbmask_command · retrieved 2026-07-17