MATLAB Answers

How to write multiple line for a condition in while or if

36 views (last 30 days)
Anh Tran
Anh Tran on 11 Sep 2019
Edited: Stephen Cobeldick on 11 Sep 2019
I want to write a multiple line conditions to prevent a long line of condition
in C++ for example, I can do this
if a > b || \
... ||\
c > d{
//Something
}
Is there anyway to do something similar in matlab?

More Answers (0)


Translated by