MATLAB Answers

Jumping over several loops

6 views (last 30 days)
Sabine Merzoug
Sabine Merzoug on 25 Feb 2020
Edited: Sabine Merzoug on 25 Feb 2020
Hi, I want to know how I can jump over several loops to the end of my code. or jump from one loop to another
if statement 1
action
else statement 2
if statement 3
action
else
statement 4
%jump to the end of the code, display 'answer'
if statement 5
%jump to statement 8
else statement 6
end
if statement 7
action
else statemment 8
end
end
end
answer

  0 Comments

Sign in to comment.

Sign in to answer this question.

Tags