Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Simple simulink problem
Date: Wed, 21 Oct 2009 15:12:47 +0100
Organization: The MathWorks, Inc.
Lines: 28
Message-ID: <hbn4sv$a3j$1@fred.mathworks.com>
References: <hbm94m$9bn$1@fred.mathworks.com> <hbmrth$md$1@fred.mathworks.com> <hbn0os$a6e$1@fred.mathworks.com>
NNTP-Posting-Host: uk-mieegea.mathworks.co.uk
X-Trace: fred.mathworks.com 1256134367 10355 172.16.27.185 (21 Oct 2009 14:12:47 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 21 Oct 2009 14:12:47 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5843
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
Xref: news.mathworks.com comp.soft-sys.matlab:578995



"Ashwini Deshpande" <vd.ashwini@mathworks.com> wrote in message 
news:hbn0os$a6e$1@fred.mathworks.com...
>
>> Don't use the constant block, use the repeating sequence block:
>> http://www.mathworks.com/access/helpdesk/help/toolbox/simulink/slref/repeatingsequence.html
>>
>> HTH,
>>
>> Arnaud
>>
> Thanks ,
> My requirement something similar to the repeating sequence block, there i 
> want to have the sequence of zeros and ones, but it expects that the 
> sequence should be in ascending order.
> what do i do??
> Ashwini
>

You are right, I was a bit too hasty. Use the repeating sequence stair block 
instead:
http://www.mathworks.com/access/helpdesk/help/toolbox/simulink/slref/repeatingsequencestair.html

HTH,

Arnaud