Table of Contents
qc_load_model_at_boot
Configures a model to load on a QUARC target at boot time.
result = qc_load_model_at_boot(model, arguments) % Load code for model with specified arguments at boot time result = qc_load_model_at_boot(model) % Load code for model with external mode arguments at boot time result = qc_load_model_at_boot % Load code for the current model with external mode arguments at boot time
Configures the code generated from a model to load on a QUARC target at boot time. The code is assumed to be downloaded to the target already. If no arguments are specified then the arguments specified in the external mode MEX arguments in the Code Generation/Interface configuration pane are used. If no model is specified then the currently selected model is used. The target is identified by the settings for the active configuration for the model. Substitutions on the model arguments are performed as described in the help for qc_get_model_arguments.
model
A string indicating the name of the model to load at boot. eg. 'q_a_lpbk
'. Use
MATLAB Command Line
Click to copy the following command line to the clipboard. Then paste it in the MATLAB Command Window:
doc('bdroot')arguments
A string containing the model arguments. These arguments will override the arguments specified for Code Generation.
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 output is assigned it issues an error on failure.
result = qc_load_model_at_boot('q_a_lpbk'); % Configures the q_a_lpbk model to load on the target at boot time.
See Also
Copyright ©2024 Quanser Inc. This page was generated 2024-10-17. Submit feedback to Quanser about this page.
Link to this page.