Can I use arithmetic & relational operations in variant conditions?

1 visualizzazione (ultimi 30 giorni)

Risposta accettata

MathWorks Support Team
MathWorks Support Team il 17 Apr 2024 alle 0:00
Modificato: MathWorks Support Team il 28 Set 2022
It is not recommended to use arithmetic operations in variant conditions. The Note in this documentation explains further. Please use the option error for the below diagnostic in the configuration parameters.
It is also recommended to limit the usage of the relational operators to ==, ~=, ~ in the variant expressions.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by