Path: news.mathworks.com!not-for-mail
From: "Ashwini Deshpande" <vd.ashwini@mathworks.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Variable - Simulink
Date: Thu, 22 Oct 2009 09:42:04 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 17
Message-ID: <hbp9db$q4f$1@fred.mathworks.com>
References: <hbp2nj$bmr$1@fred.mathworks.com> <hbp3cb$mbo$1@fred.mathworks.com>
Reply-To: "Ashwini Deshpande" <vd.ashwini@mathworks.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 1256204524 26767 172.30.248.38 (22 Oct 2009 09:42:04 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 22 Oct 2009 09:42:04 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1101624
Xref: news.mathworks.com comp.soft-sys.matlab:579248


 
> You can't. You have to create your own block to do this, using things like a 
> look-up table, Embedded MATLAB, S-functions, etc... or evn just regular 
> Simulink blocks that construct the signal that you want. A parameter is 
> constant, a signal is variable.
> 
> Arnaud 
> 
Thanks for your reply,

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