Model Export to Simulink® Model 

You must have Simulink® installed on your computer to perform the export. Without Simulink, use the procedure described in Model Export to Simulink® Script instead.

The export to a Simulink model makes model predictions for all outputs of the ASCMO-STATIC project.

In addition to the *.mdl or *.slx file, an m-S-function is exported. These M scripts are automatically started when the Simulink® simulation is run.

In addition to the m-S functions, TLC files are also generated. These files allow you to generate C code from the Simulink model using Simulink Coder (formerly Mathworks Real-Time-Workshop).

Fig. 19: Simplified view of a model exported as a Simulink® model

The exported model can also be included in a closed loop simulation, e.g., for controller optimization. For an ASCMO-DYNAMIC export, it is important that the sampling time of the simulation is equal to the model's sampling time.

The model is represented as a common Simulink block.

Fig. 20: Model for export to Simulink®

By clicking on the Simulink block (Example_Dynamic2 in Model Export to Simulink® Model ), you can see the underlying model structure with the selected features of a NARX model.

Fig. 21: Underlying model structure with the selected features