LabVIEW 2012 Control Design and Simulation Module Help
»View Product Info
Select Tools»Control Design and Simulation»Simulation Model Converter to display the Simulation Model Converter dialog box.
The Simulation Model Converter executes the following steps:
- Uses The MathWorks, Inc. MATLAB® application software and The MathWorks, Inc. Simulink® application software to compile your .mdl file and execute any of your .m files that you specify in the dialog box. The MATLAB software obtains the values of any parameters and equations that your .m file contains. The Simulation Model Converter then passes these values from the MATLAB software to LabVIEW. If the MATLAB software is not installed on the same computer as the LabVIEW Control Design and Simulation Module, the results of the conversion might be less accurate.
- Parses your .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.