| MATLAB Central > MATLAB Newsreader > an exit(0) function |
|
|
|
Hey, Is there some way in Matlab to use a C-style exit(0) function? The reason I ask, is I want to be able to break out of nested functions without displaying anything on the command line (as assert and error both do), |
|
Chris <skynet414@gmail.com> wrote in message <2071624916.24176.1294959981193.JavaMail.root@gallium.mathforum.org>... |
|
On 13/01/11 5:25 PM, Matt Fig wrote: |
|
There is no such thing as exit(0) in MATLAB. I've searched for two months for such a command with no results, and I'm 99% sure about it. |
|
Chris <skynet414@gmail.com> wrote in message <2071624916.24176.1294959981193.JavaMail.root@gallium.mathforum.org>... |
|
On 14/01/11 12:31 AM, Husam Aldahiyat wrote: |
|
It seems there is no such function, anyone have ideas on how I could create my own exit() function? I can't seem to find the source for quit() and error() which is annoying. |
|
Chris <skynet414@gmail.com> wrote in message <2071624916.24176.1294959981193.JavaMail.root@gallium.mathforum.org>... |
|
"Husam Aldahiyat" wrote in message <igoqj8$hnq$1@fred.mathworks.com>... |
|
|
|
"Bruno Luong" <b.luong@fogale.findmycountry> wrote in message <igpgvg$9ji$1@fred.mathworks.com>... |
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.
Contact us at files@mathworks.com
