Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Variable - Simulink
Date: Thu, 22 Oct 2009 08:59:06 +0100
Organization: The MathWorks, Inc.
Lines: 23
Message-ID: <hbp3cb$mbo$1@fred.mathworks.com>
References: <hbp2nj$bmr$1@fred.mathworks.com>
NNTP-Posting-Host: uk-mieegea.mathworks.co.uk
X-Trace: fred.mathworks.com 1256198347 22904 172.16.27.185 (22 Oct 2009 07:59:07 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 22 Oct 2009 07:59:07 +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:579216



"Ashwini Deshpande" <vd.ashwini@mathworks.com> wrote in message 
news:hbp2nj$bmr$1@fred.mathworks.com...
> Hi,
>
> In Simulink, if i want to make the parameters of source block (various) 
> for ex: value of constant clock, Amplitude and Frequency of Sine Wave 
> etc., as variable, so that they can be derived from main clock block.
>
> How do i do it???
>
> Thanks
> Ashwini
>

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