Getting Out of a For Loop
Samuel Doughty <[email protected]>
| Newsgroups | gmane.comp.gnu.octave.general |
|---|---|
| Message-ID | <CALCCG3iyJzvCefNtpzDZukNgwSWZEReZRUwzZTLoZjvPT+S37g@mail.gmail.com> |
I need to get out of a FOR loop. I have written a simple IF test that I
thought would work, but it does not. It was this, where esq has been
previously evaluated:
if esq<1e-10
exitfor
endif
What do I need to do differently, please?
Thanks,
Sam