Table of Contents
qc_remove_model_loaded_at_boot
Removes the model from the list of models configured to load on a QUARC target at boot time.
result = qc_remove_model_loaded_at_boot(model, name) % Remove model NAME from the boot list on target associated with MODEL result = qc_remove_model_loaded_at_boot(config_set, name) % Remove model NAME from the boot list on target associated with the configuration set result = qc_remove_model_loaded_at_boot(target_uri, name) % Remove model NAME from the boot list on target specified by the target URI result = qc_remove_model_loaded_at_boot(name) % Remove model NAME from the boot list on its associated target result = qc_remove_model_loaded_at_boot % Remove the current model from the boot list on the target associated with it
Remove a model from the list of models configured to load on a target at boot time. If MODEL is specified, then the target URI associated with the active configuration set of that model is used to identify the target. 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 via a model, configuration set or URI then the target is identified by the settings for the active configuration of the model being removed. Note that in this case all the models listed in the NAME argument must be open in order to extract the target URI associated with each model name.
The NAME argument is the name of the model to remove on the target. To remove multiple models at the same time, use a cell array of strings.
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.
name
A string indicating the name of the model to remove or a cell array of strings .e.g. 'test_model
'
result
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 result output is assigned it issues an error on failure.
qc_remove_model_loaded_at_boot; % Removes the current model from the list of models to load at boot time on the target % Remove all models configured to load at boot time on the target associated with the current model models = qc_get_models_loaded_at_boot; qc_remove_model_loaded_at_boot(bdroot, models);
See Also
Copyright ©2024 Quanser Inc. This page was generated 2024-10-17. Submit feedback to Quanser about this page.
Link to this page.