Table of Contents
qc_get_target_uri
Returns the target URI for the given model or configuration set.
uri = qc_get_target_uri(model) % Returns the target URI for the given model uri = qc_get_target_uri(config_set) % Returns the target URI for the given configuration set uri = qc_get_target_uri % Returns the target URI for the current model
Returns the target URI for the given model or configuration set. This URI may be specified explicitly as the third argument of the MEX-file arguments of the Host/Target interface in the Code Generation/Interface configuration parameters.
The following format specifiers are replaced in the URI with the appropriate values:
%m | = | the model name |
%h | = | the hostname from the model URI |
%p | = | the port from the model URI (not usually used) |
%a | = | the authority from the model URI and any path separator e.g. '//hostname:port/', if present |
%P | = | the path from the model URI i.e. the portion following the '/' after the hostname and port (not usually used) |
%o | = | the options from the model URI i.e. the portion following the '?' (not usually used) |
%f | = | the fragment from the model URI i.e. the portion following the '#' (not usually used) |
model
A string indicating the name of the model used to find the target 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 target 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')target_uri
A string containing the URI used for communicating with the QUARC Target Manager on the target.
uri = qc_get_target_uri('q_a_lpbk'); % Returns the URI for the q_a_lpbk model's 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.