Table of Contents
qc_get_target_type
Returns the target type for the given model or configuration set.
target_type = qc_get_target_type(model) % Returns the target type for the given model target_type = qc_get_target_type(config_set) % Returns the target type for the given configuration set target_type = qc_get_target_type % Returns the target type for the current model
Returns the type of QUARC target for which the given model or configuration set is configured. The target type is determined by system target file specified in the Code Generation configuration parameters.
model
A string indicating the name of the model used to find the target type. 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 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')target_type
A string containing the type of target.
target_type = qc_get_target_type('q_a_lpbk'); % Returns the type of the q_a_lpbk model's target.
See Also
Copyright ©2024 Quanser Inc. This page was generated 2024-10-17. Submit feedback to Quanser about this page.
Link to this page.