Table of Contents
qc_get_model_uri
Returns the model URI for the given model or configuration set.
uri = qc_get_model_uri(model) % Returns the model URI for the given model uri = qc_get_model_uri(config_set) % Returns the model URI for the given configuration set uri = qc_get_model_uri % Returns the model URI for the current model
Returns the model URI for the given model or configuration set. This URI may be specified
explicitly as the second argument of the MEX-file arguments of the Host/Target interface
in the Code Generation/Interface configuration parameters. Any %m
format specifiers
in the URI are replaced with the model name.
model
A string indicating the name of the model used to find the model URI. eg. 'q_a_lpbk
' or
MATLAB Command Line
Click to copy the following command line to the clipboard. Then paste it in the MATLAB Command Window:
doc('bdroot')config_set
A Simulink.ConfigSet
configuration set containing the model URI (see
MATLAB Command Line
Click to copy the following command line to the clipboard. Then paste it in the MATLAB Command Window:
doc('getConfigSet')uri
The URI used for communications with the model.
uri = qc_get_model_uri('q_a_lpbk'); % Returns the URI for 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.