Trouble using strings in If statements using OR

 采纳的回答

if race == "H2" || race == "H1" || race == "H3" || race == "H4"

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Characters and Strings 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by