Table of Contents
qc_get_downloaded_models
Retrieves a list of the models that have been downloaded to a QUARC target.
[models, err] = qc_get_downloaded_models(model) % Models downloaded to the target associated with the model [models, err] = qc_get_downloaded_models(config_set) % Models downloaded to the target associated with the configuration set [models, err] = qc_get_downloaded_models(target_uri) % Models downloaded to target specified by the target URI [models, err] = qc_get_downloaded_models % Models downloaded to target associated with the current model
Retrieves a list of the models that have been downloaded to a QUARC target and are available for loading. 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.
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 (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.
models
A cell array of strings containing the names of the models that have been downloaded to the target.
err
Zero if the operation is successful. A negative error code otherwise. See qc_error and qc_get_error_message for handling error codes.
models = qc_get_downloaded_models; % Returns the models downloaded to 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.