Table of Contents
qc_set_simulation_mode
Sets the simulation mode of the model.
qc_set_simulation_mode(model, mode) % Sets the simulation mode of the model qc_set_simulation_mode(mode) % Sets the simulation mode of the current model
Sets the simulation mode of a model. Valid values for the MODE argument are:
'normal' | = | set the simulation mode of the model to Normal |
'external' | = | set the simulation mode of the model to External |
This command is equivalent to selecting Normal or External from the Simulation menu of the diagram.
If no model is specified then it behaves as if the currently selected model, as returned by
MATLAB Command Line
Click to copy the following command line to the clipboard. Then paste it in the MATLAB Command Window:
doc('bdroot')model
A string indicating the name of the model for which to set the simulation mode eg. 'q_a_lpbk
'.
mode
A string indicating the new simulation mode. It must be 'normal
' or 'external
'.
This function has no outputs.
qc_set_simulation_mode('q_a_lpbk', 'normal'); % Set the 'q_a_lpbk' model simulation mode to Normal
See Also
Copyright ©2024 Quanser Inc. This page was generated 2024-10-17. Submit feedback to Quanser about this page.
Link to this page.