Operator to represent Bitwise and Logical Operator blocks
Specify operator type in generated code
Model Configuration Pane: Code Generation / Optimization
The Operator to represent Bitwise and Logical Operator blocks optimizes the generated code with Logical or Bitwise operators or a combination of both. The supported data type is Boolean.
Same as modeled (default) |
Logical Operator |
Same as modeled
Generate code with operators as modeled in Simulink. Generates code with a combination of Bitwise and Logical operators if the model contains both Logical and Bitwise blocks.
Generate code with Logical operators. Converts Bitwise operator blocks in the model to Logical operators in the generated code.
Generate code with Bitwise operators. Converts Logical operators blocks in the model to Bitwise operators in the generated code. Selecting this option may improve ROM efficiency when the code contains Bitwise operators.
Bitwise operator (ROM efficiency)
|Type: character vector
'Same as modeled' |
'Same as modeled'
Introduced in R2020a