Table of Contents
qc_get_target_version
Retrieves the version of QUARC installed on a QUARC target.
[version_info, err] = qc_get_target_version(model) % Version of QUARC on the target associated with the model [version_info, err] = qc_get_target_version(config_set) % Version of QUARC on the target associated with the configuration set [version_info, err] = qc_get_target_version(target_uri) % Version of QUARC on the target specified by the target URI [version_info, err] = qc_get_target_version % Version of QUARC on the target associated with the current model
Retrieves the version of QUARC installed on the given target. If a model is specified, then the target URI associated with the active configuration set of the model is used. If a configuration set is specified then its associated target URI is used. If a target URI is specified then it is used directly to access the target. If no target URI is specified then the target is identified by the settings for the active configuration of the currently selected model.
The version information is a structure containing the major, minor, release, build and revision numbers, the year, month and day assigned to the QUARC product, and the actual date and time QUARC was compiled.
model
A string indicating the name of the model from which to identify the target eg. 'q_a_lpbk
'.
config_set
A Simulink.ConfigSet
configuration set from which to identify the target (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.
version_info
A structure containing information about the version of QUARC installed on the target.
err
Returns 0 on success and a negative error code on failure. See qc_error and qc_get_error_message for handling error codes. If no err output is assigned it issues an error on failure.
info = qc_get_target_version; % Returns the QUARC version of the current 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.