'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!