coder.target
Determine if code generation target is specified target
Syntax
Description
returns true (1) if the code generation target istf
= 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 usecoder.target
in MATLAB class property initialization,coder.target('MATLAB')
returns true.
Examples
Input Arguments
Extended Capabilities
Version History
Introduced in R2011a