Main Content

jc_0011: Optimization parameters for Boolean data types

Since R2020a

Guideline Publication

Control Algorithm Modeling Guidelines - Using MATLAB®, Simulink®, and Stateflow®

Sub ID Recommendations

  • NA-MAAB — a

  • JMAAB — a

MATLAB Versions

All

Rule

Sub ID a

Configuration parameter Implement logic signals as Boolean data (vs. double) shall be selected so that optimization parameters are activated for logic signals.

Custom Parameter

Not Applicable

Rationale

Sub ID a:

  • Using Boolean data can reduce RAM capacity when using C code.

Verification

Model Advisor check: Check Implement logic signals as Boolean data (vs. double) (Simulink Check)

Last Changed

R2020a

See Also

Version History

Introduced in R2020a