Enable implicit expansion in MATLAB functions
Description
Enable implicit expansion in code that is generated for MATLAB® code that contains binary operations and functions. This parameter applies to MATLAB code in a MATLAB Function block, a Stateflow® chart, or a System object associated with a MATLAB System block. This parameter also applies to the model during simulation. Implicit expansion can change the output size of the binary operations and functions. This option might cause extra code to be generated to accomplish implicit expansion.
Category: Simulation Target > Advanced parameters
Settings
Default: On
On
Enables implicit expansion for code generation of MATLAB code that contains binary operations and functions.
Off
Disables implicit expansion for code generation and model simulation of MATLAB code that contains binary operations and functions. If implicit expansion is disabled, and the MATLAB code requires implicit expansion, code generation and model simulation might generate errors.
Command-Line Information
Parameter:
EnableImplicitExpansion |
Value:
'on' | 'off' |
Default:
'on' |