Table of Contents
qc_switch_to_model
Switches in one model on a target while switching out another.
qc_switch_to_model(model, arguments, reconfiguration_group) % Switch in given model with specified arguments from a model in the given group qc_switch_to_model(model, reconfiguration_group) % Switch in given model from a model in the given group qc_switch_to_model(model, arguments) % Switch in given model with specified arguments from a model in the default group (0) qc_switch_to_model(model) % Switch in given model from a model in the default group (0) qc_switch_to_model % Switch in current model from a model in the default group (0)
Performs dynamic reconfiguration in which one model is switched in and another model is switched out on the target. If no reconfiguration group is specified then group 0 is used. The target is determined by the active configuration for the model.
If no arguments are specified then the arguments given in the Code Generation/Interface pane of the active configuration are used.
model
A string indicating the name of the model to switch in. It should not be running on the target. Use
MATLAB Command Line
Click to copy the following command line to the clipboard. Then paste it in the MATLAB Command Window:
doc('bdroot')arguments
A string containing the model arguments to pass to the model being switched in. These arguments will override the arguments specified for Code Generation.
reconfiguration_group
The reconfiguration group of the running model to switch out. This function checks models running on the target. The reconfiguration group must be a non-negative integer.
This function has no outputs.
qc_switch_to_model('q_a_lpbk'); % Switch to 'q_a_lpbk' model from the 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.