Error while running matlab

Answers (2)

Dyuman Joshi
Dyuman Joshi on 7 Oct 2023
"Error while running matlab"
That's not MATLAB.
But, you are missing "end" to close the if-else condition block.
the cyclist
the cyclist on 7 Oct 2023
Looks like that's Octave, not MATLAB.
But, that being said, it looks like the problem is that there is no end statement to close the if clause.

Asked:

on 7 Oct 2023

Answered:

on 7 Oct 2023

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!