How VeriStand Imports Simulink Models using the Model Framework
- Updated2025-04-08
- 3 minute(s) read
How VeriStand Imports Simulink Models using the Model Framework
VeriStand identifies inports, outports, parameters, and signals in models you created in Simulink software according to their configuration in Simulink.
A simple model in Simulink might contain the following components.

Component in model | Type of component in VeriStand |
---|---|
Raw_Sine | Signal |
Sine_Gain | Parameter |
In1 | Inport |
Out1 | Outport |
Signal Importing
Parameter
Importing
- Global parameters, by default, applies to the current model and to any global parameters with the same name in other models on the target. This parameter is similar to a workspace variable in MathWorks MATLAB® software. If you set inline parameters in the Simulink software, MathWorks Real-Time Workshop® software converts MATLAB workspace variables to global parameters in the compiled model.
- Local parameters only apply to the specific model and block or subsystem that they belong to. If you do not set inline parameters in Real-Time Workshop, block parameters remain block parameters in the compiled model.
A Simulink model can contain only one type of parameter. However, a system definition can contain a model with global parameters and a model with block parameters.
VeriStand supports model references to submodels, but you cannot access parameters in submodels. Submodels execute in a VeriStand system, but their parameters are not available for mapping.
In Simulink, you can inline parameters. In VeriStand, inlined parameters are not available for configuration. However, even if you inline a parameter in Simulink, you still can allow users to influence the parameter by configuring a variable that affects the parameter to be tunable. For more information, refer to Tune and Experiment with Block Parameter Values.
- Contains a constant configured with an expression (x + 3).
- Contains a sine wave block whose amplitude and frequency parameters are inlined, and therefore unavailable in VeriStand.
- Adds the result of the constant to the output from the sine wave block.
Although the parameters of the sine wave block are unavailable, you can influence the operation by specifying that the x variable is tunable in Simulink. After you add the model to VeriStand, when x is tunable, it will appear in the Parameters list in System Explorer. You can change the value of x as the model executes.
Inport and Outport Importing
Top-level Simulink inports and outports become VeriStand inports and outports. Submodel inports and outports in Simulink import only if you place VeriStand inport and outport blocks within the submodel in Simulink.