Table of Contents
qc_simulate_switch_to_model
Simulates switching in one model while switching out another.
qc_simulate_switch_to_model(model, reconfiguration_group) % Simulate switching to model from a model in the given group qc_simulate_switch_to_model(model) % Simulate switching to model from a model in the default group (0) qc_simulate_switch_to_model % Simulate switching to the current model from a model in the default group (0)
Simulates dynamic reconfiguration in which one model is switched in and another model is switched out in normal simulation. If no reconfiguration group is specified then group 0 is used.
model
A string indicating the name of the model to switch in. It should not be running in normal simulation. Use
MATLAB Command Line
Click to copy the following command line to the clipboard. Then paste it in the MATLAB Command Window:
doc('bdroot')reconfiguration_group
The reconfiguration group of the running model to switch out. This function only checks models running a normal simulation. The reconfiguration group must be a non-negative integer.
This function has no outputs.
qc_simulate_switch_to_model('q_a_lpbk'); % Switch to 'q_a_lpbk' model from one currently running
See Also
Copyright ©2024 Quanser Inc. This page was generated 2024-10-17. Submit feedback to Quanser about this page.
Link to this page.