Select Tools»Control Design and Simulation»Simulation
Model Converter to launch the Simulation Model Converter dialog box.
The Simulation Model Converter executes the following steps:
- Executes any .m files that the .mdl file includes in addition to any .m files you specify in the dialog box. This step obtains the values of any parameters and equations that the .m file contains. However, the Simulation Model Converter executes this step only if The MathWorks, Inc. MATLAB® software is installed on the same computer as the LabVIEW Simulation Module.
- Parses the .mdl file for model information such as timing and ordinary differential equation (ODE) solver settings.
- Stores each system, subsystem, block, and line in an XML-based Common Graph Description (CGD) format.
- Generates a LabVIEW simulation subsystem corresponding to each model subsystem, in order. Converting in order ensures that the Simulation Model Converter generates every LabVIEW subsystem that has a parent simulation diagram before generating the parent simulation diagram. The Simulation Model Converter converts all blocks into one or more LabVIEW functions or simulation subsystems. The Simulation Model Converter also converts lines into wires that connect terminals on the LabVIEW functions and simulation subsystems.