Can I use arithmetic & relational operations in variant conditions?

1 次查看(过去 30 天)

采纳的回答

MathWorks Support Team
编辑: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 个)

类别

Help CenterFile Exchange 中查找有关 Variant Hierarchical Components 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by