'Or' statement in matlab?
Mostrar comentarios más antiguos
How can I do this without using else if?:
if balls == 0 & ( x > 5 OR y > 7)
run xscript
end
Thanks,
4 comentarios
José-Luis
el 7 de Sept. de 2012
which else if?
Aadil
el 7 de Sept. de 2012
José-Luis
el 7 de Sept. de 2012
Image Analyst understood faster and gave you the answer...
Simran Wasu
el 20 de Feb. de 2016
Editada: Simran Wasu
el 20 de Feb. de 2016
use '||' for OR command (without quotes).
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Get Started with MATLAB en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!