Table of Contents
qc_clean_model
Removes generated code for a model in preparation for a fresh build.
qc_clean_model(model, option, ...) % Removes the generated code for the model, with options qc_clean_model(model) % Removes the generated code for the model qc_clean_model(option, ...) % Removes the generated code for the current model, with options qc_clean_model % Removes the generated code for the current model
Removes the generated code for a model. Normally only the generated code specific to the model is quietly cleaned out. However, this behavior can be modified by specifying one or more of the following options:
'all' |
- |
delete the shared code for the model in the slprj folder as well |
'confirm' |
- |
require user confirmation before deleting the generated code |
If no model is specified then the current model as returned by bdroot is used.
model
A string indicating the name of the model to clean. eg. 'q_a_lpbk'
.
option
One of the option strings: 'all' or 'confirm'.
This function has no outputs.
qc_clean_model('q_a_lpbk'); % Removes the generated code for the q_a_lpbk model
See Also
Copyright ©2024 Quanser Inc. This page was generated 2024-04-16. Submit feedback to Quanser about this page.
Link to this page.