Table of Contents
qc_get_model_extension
Returns the extension used for generated code for the given model or configuration set.
extension = qc_get_model_extension(model) % Returns the model extension for the given model extension = qc_get_model_extension(config_set) % Returns the model extension for the given configuration set extension = qc_get_model_extension % Returns the model extension for the current model
Returns the extension used for generated code for the given model or configuration set. The extension is a function of the target type currently selected for the model. The returned extension includes the '.' character. For example, the extension for the Windows target is '.exe' and for the QNX x86 target it is the empty string ''.
model
A string indicating the name of the model. eg. 'q_a_lpbk
' or
MATLAB Command Line
Click to copy the following command line to the clipboard. Then paste it in the MATLAB Command Window:
doc('bdroot')config_set
A Simulink.ConfigSet
configuration set containing the model's target type (see
MATLAB Command Line
Click to copy the following command line to the clipboard. Then paste it in the MATLAB Command Window:
doc('getConfigSet')extension
The extension on code generated for the model.
extension = qc_get_model_extension('q_a_lpbk'); % Returns the extension for the q_a_lpbk generated code.
See Also
Copyright ©2024 Quanser Inc. This page was generated 2024-10-17. Submit feedback to Quanser about this page.
Link to this page.