Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Variable - Simulink
Date: Thu, 22 Oct 2009 14:25:51 +0100
Organization: The MathWorks, Inc.
Lines: 23
Message-ID: <hbpmgv$kgr$1@fred.mathworks.com>
References: <hbp2nj$bmr$1@fred.mathworks.com> <hbp3cb$mbo$1@fred.mathworks.com> <hbp9db$q4f$1@fred.mathworks.com>
NNTP-Posting-Host: uk-mieegea.mathworks.co.uk
X-Trace: fred.mathworks.com 1256217951 21019 172.16.27.185 (22 Oct 2009 13:25:51 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 22 Oct 2009 13:25:51 +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:579309



"Ashwini Deshpande" <vd.ashwini@mathworks.com> wrote in message 
news:hbp9db$q4f$1@fred.mathworks.com...

>
> My requirement is that i have to generate a data packet of 20 bits (zero's 
> and one's), and at every 5 second the last 5 bits has to be changed with 
> respect to a look-up table.
>
> I am trying with 'Repeating Sequence Stair' block, it works well with 
> fixed 20 bits, but if i want to make the last five bits dynamic, what do i 
> do??
>
> Thanks
> Ashwini
>
Not sure, sorry. There are a bunch of blocks under "Logic and Bit 
Operations" which might be able to help you. Otherwise, it sound slike you 
will have to write your own block using Embedded MATLAB or an S-function.

Arnaud