Building a MathWorks Simulink® Model Containing Bus Elements

Updated Apr 20, 2023

Reported In

Software

  • VeriStand Model Framework
  • Simulink

Issue Details

I have a MathWorks Simulink Model that has a Bus Element as an Input. 
image.png
image.png

Is it possible to compile this model with "NI VeriStand Model Framework for Simulink" and use it as a model in VeriStand?

Solution

NI VeriStand Model Framework for Simulink only supports Imports (as an actual data input for the model) and Inputs (as a parameter for the model) as terminals for inputting data to the model, and Outputs and Outports as terminals for receiving data from the model.
The Bus Element is not supported in VeriStand as this is not a data type the model can receive or return.

Additional Information

If you have a big MATLAB Simulink project that includes a model, divide the Bus Elements into individual Imports or Inputs in order to be able to compile it.

MATLAB® and Simulink® are registered trademarks of The MathWorks, Inc.