Table of Contents
qc_disconnect_model
Disconnects a model from its real-time code on a QUARC target in external mode.
qc_disconnect_model(model) % Disconnect a model from its active target qc_disconnect_model % Disconnect the current model from its active target
Disconnects a model from its associated real-time code on a QUARC target in external mode. The simulation mode of the model is assumed to be external. Note that disconnecting a model does not stop the model. Use qc_stop_model to stop a model and disconnect from it.
This command is equivalent to selecting
from the menu of the diagram. The code must be loaded on the target already and it must have been compiled with the external mode interface selected in the Code Generation options.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 bdrootmodel
A string indicating the name of the model from which to disconnect eg. 'q_a_lpbk'
.
This function has no outputs.
qc_disconnect_model('q_a_lpbk'); % Disconnects the 'q_a_lpbk'
model from its associated target.
See Also
Copyright ©2024 Quanser Inc. This page was generated 2024-10-17. Submit feedback to Quanser about this page.
Link to this page.