MAAB guideline : na_0002: Appropriate implementation of fundamental logical and numerical operations

1 view (last 30 days)
Hello everybody,
The MAAB guideline na_0002: Appropriate implementation offundamental logical and numerical operations. Indicates that logical data type shouldn't be used in numerical operations. Among the rationales listed, we can see Code generation, but i can't understand how using logical data type in numerical operations could affect negatively Code generation, since a cast is done for the logical data type ?
Any help please.
Regards

Answers (0)

Categories

Find more on MAB Modeling Guidelines in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!