Clear Filters
Clear Filters

Error while running matlab

1 view (last 30 days)
Reema Noor
Reema Noor on 7 Oct 2023
Answered: the cyclist on 7 Oct 2023

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.

Community Treasure Hunt

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

Start Hunting!