coder.target
Determine if code generation target is specified target
Description
returns
true (1) if the code generation target is tf
= coder.target(target
)target
.
Otherwise, it returns false (0).
If you generate code for MATLAB® classes, MATLAB computes
class initial values at class loading time before code generation.
If you use coder.target
in MATLAB class
property initialization, coder.target('MATLAB')
returns
true.
Examples
Input Arguments
Extended Capabilities
Version History
Introduced in R2011a