'Or' statement in matlab?
古いコメントを表示
How can I do this without using else if?:
if balls == 0 & ( x > 5 OR y > 7)
run xscript
end
Thanks,
4 件のコメント
José-Luis
2012 年 9 月 7 日
which else if?
Aadil
2012 年 9 月 7 日
José-Luis
2012 年 9 月 7 日
Image Analyst understood faster and gave you the answer...
Simran Wasu
2016 年 2 月 20 日
編集済み: Simran Wasu
2016 年 2 月 20 日
use '||' for OR command (without quotes).
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Get Started with MATLAB についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!