Table of Contents
qc_update_model
Updates a model diagram, propagating workspace variable changes to real-time code.
qc_update_model(model) % Update the given model qc_update_model % Update the current model
Updates a model diagram. This command is useful for causing changes in Matlab workspace variables that are used in the model to be propagated to the real-time code when the model is connected in external mode.
This command is equivalent to selecting
from the 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 bdrootmodel
A string indicating the name of the model to update eg. 'q_a_lpbk'
.
This function has no outputs.
qc_update_model('q_a_lpbk'); % Updates the 'q_a_lpbk'
model.
See Also
Copyright ©2024 Quanser Inc. This page was generated 2024-10-17. Submit feedback to Quanser about this page.
Link to this page.