'Or' statement in matlab?
Mostra commenti meno recenti
How can I do this without using else if?:
if balls == 0 & ( x > 5 OR y > 7)
run xscript
end
Thanks,
4 Commenti
José-Luis
il 7 Set 2012
which else if?
Aadil
il 7 Set 2012
José-Luis
il 7 Set 2012
Image Analyst understood faster and gave you the answer...
Simran Wasu
il 20 Feb 2016
Modificato: Simran Wasu
il 20 Feb 2016
use '||' for OR command (without quotes).
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Get Started with MATLAB in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!