<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/164931</link>
    <title>MATLAB Central Newsreader - Simulink results &amp; GUI</title>
    <description>Feed for thread: Simulink results &amp; GUI</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>Sun, 02 Mar 2008 12:45:03 -0500</pubDate>
      <title>Simulink results &amp; GUI</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/164931#418500</link>
      <author>Kevin Voet</author>
      <description>I'm in the process of connecting a GUI to a Simulink&lt;br&gt;
simulation and I've run into a few difficulties.&lt;br&gt;
&lt;br&gt;
1) The simulation should be running according to the state&lt;br&gt;
of a togle button.&lt;br&gt;
&lt;br&gt;
For this I'm using &quot;while cmdStart_State == get(hObject,&lt;br&gt;
'Max')&quot; but the problem is the handles don't get updated&lt;br&gt;
(and the results of the simulation don't get entered into&lt;br&gt;
the workspace) until after the function ends.&lt;br&gt;
&lt;br&gt;
My idea was to keep starting and pausing the simulation with&lt;br&gt;
the set_param() function but that doesn't work either&lt;br&gt;
because of the handles that don't update during the function&lt;br&gt;
execution.&lt;br&gt;
&lt;br&gt;
So is there a way to continously feed the results of the&lt;br&gt;
simulation into the workspace? The idea is to make a live&lt;br&gt;
plot and keep simulating until the button is toggled again.&lt;br&gt;
&lt;br&gt;
I appreciate any help and thanks in advance</description>
    </item>
    <item>
      <pubDate>Fri, 28 Mar 2008 13:48:01 -0400</pubDate>
      <title>Re: Simulink results &amp; GUI</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/164931#423322</link>
      <author>Hong </author>
      <description>&amp;nbsp;To plot the figure while running simulation lively, m file &lt;br&gt;
Fcn block following your simulink signals should be helpful.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&quot;Kevin Voet&quot; &amp;lt;kevin.voet@gmail.com&amp;gt; wrote in message &lt;br&gt;
&amp;lt;fqe7gf$hnq$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; I'm in the process of connecting a GUI to a Simulink&lt;br&gt;
&amp;gt; simulation and I've run into a few difficulties.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; 1) The simulation should be running according to the state&lt;br&gt;
&amp;gt; of a togle button.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; For this I'm using &quot;while cmdStart_State == get(hObject,&lt;br&gt;
&amp;gt; 'Max')&quot; but the problem is the handles don't get updated&lt;br&gt;
&amp;gt; (and the results of the simulation don't get entered into&lt;br&gt;
&amp;gt; the workspace) until after the function ends.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; My idea was to keep starting and pausing the simulation &lt;br&gt;
with&lt;br&gt;
&amp;gt; the set_param() function but that doesn't work either&lt;br&gt;
&amp;gt; because of the handles that don't update during the &lt;br&gt;
function&lt;br&gt;
&amp;gt; execution.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; So is there a way to continously feed the results of the&lt;br&gt;
&amp;gt; simulation into the workspace? The idea is to make a live&lt;br&gt;
&amp;gt; plot and keep simulating until the button is toggled &lt;br&gt;
again.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I appreciate any help and thanks in advance</description>
    </item>
  </channel>
</rss>

