Table of Contents
qc_connect_model
Connects a model to its real-time code on a QUARC target in external mode.
qc_connect_model(model) % Connects a model to its active target qc_connect_model % Connect the current model to its active target
Connects a model to its associated real-time code on a QUARC target in external mode. The simulation mode of the model is changed to external mode if necessary.
This command is equivalent to selecting
from the menu of the diagram. The code must be downloaded to the target already and it must have been compiled with the external mode interface selected in the Code Generation options.If no model was specified then the current 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 to which to connect. If the model is not loaded on the target, it will be loaded.
This function has no outputs.
qc_connect_model('q_a_lpbk'); % Connects to the 'q_a_lpbk'
model on 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.