<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/263819</link>
    <title>MATLAB Central Newsreader - Variable - Simulink</title>
    <description>Feed for thread: Variable - Simulink</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2012 by MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Thu, 22 Oct 2009 07:48:03 -0400</pubDate>
      <title>Variable - Simulink</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/263819#688904</link>
      <author>Ashwini Deshpande</author>
      <description>Hi,&lt;br&gt;
&lt;br&gt;
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.&lt;br&gt;
&lt;br&gt;
How do i do it???&lt;br&gt;
&lt;br&gt;
Thanks&lt;br&gt;
Ashwini</description>
    </item>
    <item>
      <pubDate>Thu, 22 Oct 2009 07:59:06 -0400</pubDate>
      <title>Re: Variable - Simulink</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/263819#688906</link>
      <author>Arnaud Miege</author>
      <description>&lt;br&gt;
&quot;Ashwini Deshpande&quot; &amp;lt;vd.ashwini@mathworks.com&amp;gt; wrote in message &lt;br&gt;
news:hbp2nj$bmr$1@fred.mathworks.com...&lt;br&gt;
&amp;gt; Hi,&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; In Simulink, if i want to make the parameters of source block (various) &lt;br&gt;
&amp;gt; for ex: value of constant clock, Amplitude and Frequency of Sine Wave &lt;br&gt;
&amp;gt; etc., as variable, so that they can be derived from main clock block.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; How do i do it???&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Thanks&lt;br&gt;
&amp;gt; Ashwini&lt;br&gt;
&amp;gt;&lt;br&gt;
&lt;br&gt;
You can't. You have to create your own block to do this, using things like a &lt;br&gt;
look-up table, Embedded MATLAB, S-functions, etc... or evn just regular &lt;br&gt;
Simulink blocks that construct the signal that you want. A parameter is &lt;br&gt;
constant, a signal is variable.&lt;br&gt;
&lt;br&gt;
Arnaud </description>
    </item>
    <item>
      <pubDate>Thu, 22 Oct 2009 09:42:04 -0400</pubDate>
      <title>Re: Variable - Simulink</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/263819#688938</link>
      <author>Ashwini Deshpande</author>
      <description>&amp;nbsp;&lt;br&gt;
&amp;gt; You can't. You have to create your own block to do this, using things like a &lt;br&gt;
&amp;gt; look-up table, Embedded MATLAB, S-functions, etc... or evn just regular &lt;br&gt;
&amp;gt; Simulink blocks that construct the signal that you want. A parameter is &lt;br&gt;
&amp;gt; constant, a signal is variable.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Arnaud &lt;br&gt;
&amp;gt; &lt;br&gt;
Thanks for your reply,&lt;br&gt;
&lt;br&gt;
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.&lt;br&gt;
&lt;br&gt;
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??&lt;br&gt;
&lt;br&gt;
Thanks &lt;br&gt;
Ashwini&lt;br&gt;
&amp;nbsp;&amp;nbsp;</description>
    </item>
    <item>
      <pubDate>Thu, 22 Oct 2009 13:25:51 -0400</pubDate>
      <title>Re: Variable - Simulink</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/263819#688999</link>
      <author>Arnaud Miege</author>
      <description>&lt;br&gt;
&quot;Ashwini Deshpande&quot; &amp;lt;vd.ashwini@mathworks.com&amp;gt; wrote in message &lt;br&gt;
news:hbp9db$q4f$1@fred.mathworks.com...&lt;br&gt;
&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; My requirement is that i have to generate a data packet of 20 bits (zero's &lt;br&gt;
&amp;gt; and one's), and at every 5 second the last 5 bits has to be changed with &lt;br&gt;
&amp;gt; respect to a look-up table.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I am trying with 'Repeating Sequence Stair' block, it works well with &lt;br&gt;
&amp;gt; fixed 20 bits, but if i want to make the last five bits dynamic, what do i &lt;br&gt;
&amp;gt; do??&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Thanks&lt;br&gt;
&amp;gt; Ashwini&lt;br&gt;
&amp;gt;&lt;br&gt;
Not sure, sorry. There are a bunch of blocks under &quot;Logic and Bit &lt;br&gt;
Operations&quot; which might be able to help you. Otherwise, it sound slike you &lt;br&gt;
will have to write your own block using Embedded MATLAB or an S-function.&lt;br&gt;
&lt;br&gt;
Arnaud </description>
    </item>
  </channel>
</rss>

