- #1
MaxManus
- 277
- 1
How do you tell MATLAB to exit a function with an if test in matlab?
I have tried
if x > 0
exit/quit
,but I don't want to exit MATLAB only the function
I have tried
if x > 0
exit/quit
,but I don't want to exit MATLAB only the function