How VeriStand Imports Models from the Model Generation Support MATLAB Add-on
- Updated2025-04-08
- 2 minute(s) read
How VeriStand Imports Models from the Model Generation Support MATLAB Add-on
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 |
---|---|
Sine_Gain | Parameter |
In1 | Inport |
Out1 | Outport |
Signal
Importing
To import signals, enable the signal for export before compiling the model. In Simulink, navigate to
to enable signal export and designate the required signals as test points.Simulink External
Mode
To visualize signals and tune parameters, enable Simulink external mode before building an imported model. Refer to External Mode Simulations for Parameter Tuning, Signal Monitoring, and Code Execution Profiling for more information.
After importing and deploying a model in VeriStand, connect to the model in Simulink by specifying the target IP address and port number. Determine the port number by referring to the ExternalMode/Port parameter. Once connected, use Simulink to visualize signals and tune parameters.
Parameter
Importing
- They are of a supported datatype.
- They are referenced by at least one Simulink block or Model Mask.
Inport and Outport
Importing
Top-level Simulink inports and outports become VeriStand inports and outports. Inports and outports in subsystems are accessible when connected to the VeriStand Inport/Outport blocks.
Importing Models with
Referenced Models and Model Masks
VeriStand supports importing models that use Referenced Models and models under Model Masks. Their Inports and Outports will not be available, but any variable referenced by those models will be available as a parameter.