Re: Need for Goto statement in Matlab
- From: "Duane Hanselman" <masteringmatlab@xxxxxxxxxxxxxx>
- Date: Sun, 30 Sep 2007 01:40:58 +0000 (UTC)
mahishi@xxxxxxxxx wrote in message
<1191094712.927754.131040@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>...
I am developing a code in Matlab for a specificapplication. I want to
develop a single M file to design two types of Heatexchangers which
have separate flow arrangements. i am trying to make thisprogram as
user-friendly as possible and am giving an option for anyuser to
choose any one type of heat exchnager at the beginning ofthe code. i
want matlab to follow one set of commands based on whichchoice is
made. In that sense, it will be nice if i have a "goto"command (or
equivalent) as it will take the program directly to thatpoint which
needed to be executed instead orf running for both thetypes heat
exchangers. does anyone know how to do this in matlab?
Arjun
The lack of a Goto statement has bothered me ever since I
started using MATLAB a number of years ago. It is hard to
believe that MATLAB has so much success while not having the
Goto. I have wasted countless hours trying to work around
this huge deficiency. Not having it has made my programs so
much longer and very difficult to read and debug. I recently
gave up. I now use Excel for all my work.
Duane
.
- References:
- Need for Goto statement in Matlab
- From: mahishi
- Need for Goto statement in Matlab
- Prev by Date: com.mathworks.mwt.MWListbox ?
- Next by Date: Re: problem with calculating period with FFT
- Previous by thread: Re: Need for Goto statement in Matlab
- Next by thread: Re: Need for Goto statement in Matlab
- Index(es):
Relevant Pages
|