"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.
"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" <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
Public Submission Policy
NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for
all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content.
Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available
via MATLAB Central. Read the complete Disclaimer prior to use.