Table of Contents
qc_download_model
Downloads the generated code for a model to a QUARC target.
num_bytes = qc_download_model(model, directory) % Download code for model from specified directory num_bytes = qc_download_model(model) % Download code for model from current directory num_bytes = qc_download_model % Download code for the current model from current directory
Downloads the code generated from a model to a QUARC target. The code is assumed to be in the current directory unless a directory is explicitly specified. If no model is specified then the currently selected model is used and the generated code is assumed to reside in the current directory. The target is identified by the settings for the active configuration for the model.
model
A string indicating the name of the model to download. eg. 'q_a_lpbk'
.
directory
A string containing the path to the model code. If no directory is specified then the current Matlab directory is used.
num_bytes
The number of bytes downloaded 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.
num_bytes = qc_download_model('q_a_lpbk'); % Returns the number of bytes downloaded.
See Also
Copyright ©2024 Quanser Inc. This page was generated 2024-10-17. Submit feedback to Quanser about this page.
Link to this page.