Can I use arithmetic & relational operations in variant conditions?
1 view (last 30 days)
Show older comments
MathWorks Support Team
on 26 Sep 2022
Edited: MathWorks Support Team
on 28 Sep 2022
Can I use arithmetic & relational operations in variant conditions?
Accepted Answer
MathWorks Support Team
on 17 Apr 2024 at 0:00
Edited: MathWorks Support Team
on 28 Sep 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.
0 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!