Path: news.mathworks.com!not-for-mail
From: "huda nawaf" <halmamory@yahoo.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: booking parts of program
Date: Fri, 17 Aug 2007 18:05:09 +0000 (UTC)
Organization: Babylon
Lines: 51
Message-ID: <fa4o0l$4l7$1@fred.mathworks.com>
References: <fa3lf3$bt7$1@fred.mathworks.com> <fa3n35$st3$1@fred.mathworks.com> <fa43uj$118$1@fred.mathworks.com> <fa4487$4cg$1@fred.mathworks.com>
Reply-To: "huda nawaf" <halmamory@yahoo.com>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1187373909 4775 172.30.248.38 (17 Aug 2007 18:05:09 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 17 Aug 2007 18:05:09 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1077087
Xref: news.mathworks.com comp.soft-sys.matlab:424340


"Titus" <titus.edelhofer@mathworks.de> wrote in message 
<fa4487$4cg$1@fred.mathworks.com>...
> 
> "huda nawaf" <halmamory@yahoo.com> schrieb im 
Newsbeitrag 
> news:fa43uj$118$1@fred.mathworks.com...
> > "us " <us@neurol.unizh.ch> wrote in message <fa3n35$st3
> > $1@fred.mathworks.com>...
> >> huda nawaf:
> >> <SNIP wants to book the bad guys to put them into a
> > cell...
> >>
> >> > how I can booking  part from my program in matlab...
> >> > I know if there is one expression I do % but if 
there
> > are
> >> > more such as 20 expressions...
> >>
> >> well, if(f) i understand your use of <booking>
> > correctly,
> >> you may be interested in the <comment block> syntax
> >>
> >> % copy/paste/run this sequence
> >>      a=1
> >> %{
> >>      b=2
> >>      c=3
> >> %}
> >>      d=4
> >>
> >> us
> > hi us,
> > thanks
> > I copied and pasted this sequence but it didn't work.
> > I mean when I executed  it ,the values of b and c
> > appeared in command window.
> >
> 
> Hi,
> I guess then, that your MATLAB is not the newest one? 
The syntax <us> showed 
> was introduced (I think) in R14.
> Mark the text in your editor, right click, and you will 
find an entry 
> "comment". This adds the % for all the lines your marked.
> 
> Titus
> 
> thank you very much Titus ,I tried what you suggested 
and  succeeded