The process for building a model in MathWorks Simulink® Software to be used in NI VeriStand or the LabVIEW Model Interface Toolkit is described in the
VeriStand Manual. However, if your Simulink model uses model references to call into another model, the process to build the model for use in VeriStand will differ from the workflow described in the VeriStand Manual.
This article will describe how to start with a Simulink model that contains a model reference, configure the Simulink settings, and build the model into a compiled object (.dll or .so) that can be used in VeriStand.
This guide is written using VeriStand 2020 R5 and Matlab/Simulink r2020a. The steps may be different if you are using a different version of VeriStand or Simulink.