Can I use arithmetic & relational operations in variant conditions?
1 次查看(过去 30 天)
显示 更早的评论
MathWorks Support Team
2022-9-26
编辑: MathWorks Support Team
2022-9-28
Can I use arithmetic & relational operations in variant conditions?
采纳的回答
MathWorks Support Team
2024-4-17
编辑:MathWorks Support Team
2022-9-28
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 个评论
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!