It's not so clear to me what you want to do, but try 'help close' if you
want to terminate a running program window without shutting down MATLAB.
"santosh" <email@example.com> wrote in message
> At some part of program, i just want to exit from the same.
> use of "quit" and "exit" closes down the whole matlab session and
> Matlab command window.
> i cant use break, coz i have 3 "for" loops and at inner most loop i
> want to exit from prog displaying some results at command prompt.
> How shall i do that ?
> Thanx in advance.