Table of Contents
qc_set_model_uri
Sets the model URI in the MEX-file arguments.
qc_set_model_uri(model, uri) % Sets URI of specified model qc_set_model_uri(config_set, uri) % Sets URI of specified configuration set qc_set_model_uri(uri) % Sets URI of current model
Sets the model URI of a model to uri. If no model is specified, then the current model is used. If the %m format specifier is present in the URI then it will be replaced with the model name when the URI is used.
Note that this function only changes the URI for the given model. It does not modify the default model URI used for all models. To change the default model URI, use the qc_set_default_model_uri function.
model
A string containing the name of a model. The model is used to determine the active configuration for which to set the model URI.
config_set
A Simulink.ConfigSet configuration set (see
MATLAB Command Line
Click to copy the following command line to the clipboard. Then paste it in the MATLAB Command Window:
doc getConfigSeturi
A string containing the model URI to associate with the model.
This function has no outputs.
qc_set_model_uri('q_a_lpbk', 'pipe:%m'); % Sets URI of q_a_lpbk model to 'pipe:%m'.
See Also
Copyright ©2024 Quanser Inc. This page was generated 2024-10-17. Submit feedback to Quanser about this page.
Link to this page.