<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Use MATLAB GUIs with Simulink Models</title>
	<atom:link href="http://blogs.mathworks.com/pick/2012/06/01/use-matlab-guis-with-simulink-models/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.mathworks.com/pick/2012/06/01/use-matlab-guis-with-simulink-models/</link>
	<description>&#60;a href=&#34;http://www.mathworks.com/matlabcentral/fileexchange/loadAuthor.do?objectId=1093599&#38;objectType=author&#34;&#62;Brett&#60;/a&#62; &#38; &#60;a href=&#34;http://www.mathworks.com/matlabcentral/fileexchange/loadAuthor.do?objectId=1094142&#38;objectType=author&#34;&#62;Jiro&#60;/a&#62; share favorite user-contributed submissions from the File Exchange.</description>
	<lastBuildDate>Tue, 30 Apr 2013 09:18:26 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: Craig</title>
		<link>http://blogs.mathworks.com/pick/2012/06/01/use-matlab-guis-with-simulink-models/#comment-14929</link>
		<dc:creator>Craig</dc:creator>
		<pubDate>Mon, 08 Oct 2012 17:10:30 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/pick/?p=3594#comment-14929</guid>
		<description><![CDATA[Did the event listener method on a large, complex model and it becomes uselessly slow...]]></description>
		<content:encoded><![CDATA[<p>Did the event listener method on a large, complex model and it becomes uselessly slow&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hojjat</title>
		<link>http://blogs.mathworks.com/pick/2012/06/01/use-matlab-guis-with-simulink-models/#comment-14568</link>
		<dc:creator>hojjat</dc:creator>
		<pubDate>Mon, 18 Jun 2012 15:08:54 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/pick/?p=3594#comment-14568</guid>
		<description><![CDATA[h]]></description>
		<content:encoded><![CDATA[<p>h</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Henry Harrison</title>
		<link>http://blogs.mathworks.com/pick/2012/06/01/use-matlab-guis-with-simulink-models/#comment-14551</link>
		<dc:creator>Henry Harrison</dc:creator>
		<pubDate>Tue, 05 Jun 2012 20:11:05 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/pick/?p=3594#comment-14551</guid>
		<description><![CDATA[What about changing variables in the model workspace? This is what I&#039;ve always done for this type of application.]]></description>
		<content:encoded><![CDATA[<p>What about changing variables in the model workspace? This is what I&#8217;ve always done for this type of application.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Greg</title>
		<link>http://blogs.mathworks.com/pick/2012/06/01/use-matlab-guis-with-simulink-models/#comment-14550</link>
		<dc:creator>Greg</dc:creator>
		<pubDate>Tue, 05 Jun 2012 17:32:51 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/pick/?p=3594#comment-14550</guid>
		<description><![CDATA[By performance, I assume you are referring to the execution time required for the Simulink simulation.

Execution performance is difficult to generalize because it is a function of the specific attributes of the simulation.

Hypothetically, if I implemented the same functionality for a GUI using the same methods described above, I would expect that using the SET_PARAM API would have the least impact on simulation execution time.

The reason I believe this is because Simulink does not need to call the MATLAB Interpreter throughout the execution of the simulation. Instead the exchange between Simulink and the MATLAB Interpreter is much more limited.  But this also limits you ability to do things like plot signals in the GUI during the course of simulation.

Both the S-function approach and attaching event listeners to the Simulink model require that the MATLAB Interpreter be invoked to execute MATLAB Code throughout the course of the Simulink execution.

This exchange between the Simulink engine and the MATLAB Interpreter can slow things down.

But as with any question about performance, the question really becomes &quot;what is fast enough?&quot;  While implementing a given GUI functionality using the three methods described above, each implementation might produce differing performance results. But would you notice the difference?  Maybe, maybe not. Again we end up back to the difficulty of generalizing questions regarding performance.]]></description>
		<content:encoded><![CDATA[<p>By performance, I assume you are referring to the execution time required for the Simulink simulation.</p>
<p>Execution performance is difficult to generalize because it is a function of the specific attributes of the simulation.</p>
<p>Hypothetically, if I implemented the same functionality for a GUI using the same methods described above, I would expect that using the SET_PARAM API would have the least impact on simulation execution time.</p>
<p>The reason I believe this is because Simulink does not need to call the MATLAB Interpreter throughout the execution of the simulation. Instead the exchange between Simulink and the MATLAB Interpreter is much more limited.  But this also limits you ability to do things like plot signals in the GUI during the course of simulation.</p>
<p>Both the S-function approach and attaching event listeners to the Simulink model require that the MATLAB Interpreter be invoked to execute MATLAB Code throughout the course of the Simulink execution.</p>
<p>This exchange between the Simulink engine and the MATLAB Interpreter can slow things down.</p>
<p>But as with any question about performance, the question really becomes &#8220;what is fast enough?&#8221;  While implementing a given GUI functionality using the three methods described above, each implementation might produce differing performance results. But would you notice the difference?  Maybe, maybe not. Again we end up back to the difficulty of generalizing questions regarding performance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wei</title>
		<link>http://blogs.mathworks.com/pick/2012/06/01/use-matlab-guis-with-simulink-models/#comment-14548</link>
		<dc:creator>wei</dc:creator>
		<pubDate>Mon, 04 Jun 2012 04:01:47 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/pick/?p=3594#comment-14548</guid>
		<description><![CDATA[@Greg, Would you comment on the performance of these methods?]]></description>
		<content:encoded><![CDATA[<p>@Greg, Would you comment on the performance of these methods?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: KE</title>
		<link>http://blogs.mathworks.com/pick/2012/06/01/use-matlab-guis-with-simulink-models/#comment-14547</link>
		<dc:creator>KE</dc:creator>
		<pubDate>Fri, 01 Jun 2012 21:07:20 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/pick/?p=3594#comment-14547</guid>
		<description><![CDATA[This is a useful review since related questions pop up all the time on Answers.]]></description>
		<content:encoded><![CDATA[<p>This is a useful review since related questions pop up all the time on Answers.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
