<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/170139</link>
    <title>MATLAB Central Newsreader - Making a step x seconds after a subsystem is enabled</title>
    <description>Feed for thread: Making a step x seconds after a subsystem is enabled</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, 29 May 2008 11:25:04 -0400</pubDate>
      <title>Making a step x seconds after a subsystem is enabled</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/170139#434777</link>
      <author>Kevin </author>
      <description>Greetings&lt;br&gt;
&lt;br&gt;
I want to use a step source in an enabled subsystem. The&lt;br&gt;
problem is that I want the step to happen a certain time&lt;br&gt;
after the subsystem is enabled. &lt;br&gt;
Should I use a timer? Or is there a more simple way?</description>
    </item>
    <item>
      <pubDate>Thu, 29 May 2008 14:45:04 -0400</pubDate>
      <title>Re: Making a step x seconds after a subsystem is enabled</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/170139#434827</link>
      <author>aasim Azooz</author>
      <description>&quot;Kevin &quot; &amp;lt;kedecuyp@mathworks.com&amp;gt; wrote in message &lt;br&gt;
&amp;lt;g1m3qf$qu3$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; Greetings&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I want to use a step source in an enabled subsystem. The&lt;br&gt;
&amp;gt; problem is that I want the step to happen a certain time&lt;br&gt;
&amp;gt; after the subsystem is enabled. &lt;br&gt;
&amp;gt; Should I use a timer? Or is there a more simple way?&lt;br&gt;
&lt;br&gt;
use wait(time)&lt;br&gt;
Aasim Azooz</description>
    </item>
    <item>
      <pubDate>Thu, 29 May 2008 15:34:01 -0400</pubDate>
      <title>Re: Making a step x seconds after a subsystem is enabled</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/170139#434833</link>
      <author>Kevin </author>
      <description>&quot;aasim Azooz&quot; &amp;lt;aasimazooz@yahoo.com&amp;gt; wrote in message&lt;br&gt;
&amp;lt;g1mfhg$408$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &quot;Kevin &quot; &amp;lt;kedecuyp@mathworks.com&amp;gt; wrote in message &lt;br&gt;
&amp;gt; &amp;lt;g1m3qf$qu3$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; Greetings&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; I want to use a step source in an enabled subsystem. The&lt;br&gt;
&amp;gt; &amp;gt; problem is that I want the step to happen a certain time&lt;br&gt;
&amp;gt; &amp;gt; after the subsystem is enabled. &lt;br&gt;
&amp;gt; &amp;gt; Should I use a timer? Or is there a more simple way?&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; use wait(time)&lt;br&gt;
&amp;gt; Aasim Azooz&lt;br&gt;
&lt;br&gt;
I forgot to say that I'm using Simulink, so it doesn't work.&lt;br&gt;
But thanks anyway </description>
    </item>
    <item>
      <pubDate>Thu, 29 May 2008 17:54:27 -0400</pubDate>
      <title>Re: Making a step x seconds after a subsystem is enabled</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/170139#434873</link>
      <author>Devdatt Lad</author>
      <description>&lt;br&gt;
&amp;gt; I want to use a step source in an enabled subsystem. The&lt;br&gt;
&amp;gt; problem is that I want the step to happen a certain time&lt;br&gt;
&amp;gt; after the subsystem is enabled.&lt;br&gt;
&amp;gt; Should I use a timer? Or is there a more simple way?&lt;br&gt;
&lt;br&gt;
Kevin,&lt;br&gt;
&lt;br&gt;
You cannot use the Step source block in this case. Try using the &quot;Signal &lt;br&gt;
From Workspace&quot; block in Signal Processing Blockset / Sources library and &lt;br&gt;
specify the data as&lt;br&gt;
&lt;br&gt;
[0, 0, 0, 0, 0, 1]&lt;br&gt;
&lt;br&gt;
Select to &quot;hold final value&quot; from the popup box and set sample time to 1. &lt;br&gt;
The step will now occur 5 seconds after the subsystem is enabled.&lt;br&gt;
&lt;br&gt;
Hope this helps,&lt;br&gt;
Devdatt&lt;br&gt;
&lt;br&gt;
-----&lt;br&gt;
Devdatt Lad&lt;br&gt;
The MathWorks, Inc.</description>
    </item>
  </channel>
</rss>

