<?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: How Many Blocks are in that Model?</title>
	<atom:link href="http://blogs.mathworks.com/seth/2009/08/11/how-many-blocks-are-in-that-model/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.mathworks.com/seth/2009/08/11/how-many-blocks-are-in-that-model/</link>
	<description>This blog is about Simulink.</description>
	<lastBuildDate>Sat, 11 Feb 2012 11:34:45 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Balambika</title>
		<link>http://blogs.mathworks.com/seth/2009/08/11/how-many-blocks-are-in-that-model/#comment-1715</link>
		<dc:creator>Balambika</dc:creator>
		<pubDate>Sat, 11 Feb 2012 11:34:45 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/seth/2009/08/11/how-many-blocks-are-in-that-model/#comment-1715</guid>
		<description>@Seth
Can I know the command or program, using which I can find the variable names used in the model.
Thanks in advance</description>
		<content:encoded><![CDATA[<p>@Seth<br />
Can I know the command or program, using which I can find the variable names used in the model.<br />
Thanks in advance</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Uba osy</title>
		<link>http://blogs.mathworks.com/seth/2009/08/11/how-many-blocks-are-in-that-model/#comment-894</link>
		<dc:creator>Uba osy</dc:creator>
		<pubDate>Wed, 18 Nov 2009 02:28:30 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/seth/2009/08/11/how-many-blocks-are-in-that-model/#comment-894</guid>
		<description>Hi, 

in the introductory example for fuzzy logic toolbox it was noted that using non fuzzy means, you could &quot;Specify that service accounts for 80% of the overall tipping grade and the food makes up the other 20%&quot;.  Can you do this using the fuzzy logic toolbox of matlab.  Can you give weights to diffrenet inputs.</description>
		<content:encoded><![CDATA[<p>Hi, </p>
<p>in the introductory example for fuzzy logic toolbox it was noted that using non fuzzy means, you could &#8220;Specify that service accounts for 80% of the overall tipping grade and the food makes up the other 20%&#8221;.  Can you do this using the fuzzy logic toolbox of matlab.  Can you give weights to diffrenet inputs.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wei</title>
		<link>http://blogs.mathworks.com/seth/2009/08/11/how-many-blocks-are-in-that-model/#comment-860</link>
		<dc:creator>wei</dc:creator>
		<pubDate>Wed, 23 Sep 2009 21:31:33 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/seth/2009/08/11/how-many-blocks-are-in-that-model/#comment-860</guid>
		<description>@Rob,
1. The difference I said was about counting library linked Simulink blocks vs. Stateflow objects (states, junction, etc.) with &#039;CountBlocks&#039; or &#039;CountSF&#039;. sldiagnostics counts number of linked charts, nothing further.

2. sldiagnostics doesn&#039;t work on block diagram library model, including Stateflow or not. A simple enhancement to add in future release.</description>
		<content:encoded><![CDATA[<p>@Rob,<br />
1. The difference I said was about counting library linked Simulink blocks vs. Stateflow objects (states, junction, etc.) with &#8216;CountBlocks&#8217; or &#8216;CountSF&#8217;. sldiagnostics counts number of linked charts, nothing further.</p>
<p>2. sldiagnostics doesn&#8217;t work on block diagram library model, including Stateflow or not. A simple enhancement to add in future release.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob Aberg</title>
		<link>http://blogs.mathworks.com/seth/2009/08/11/how-many-blocks-are-in-that-model/#comment-855</link>
		<dc:creator>Rob Aberg</dc:creator>
		<pubDate>Sat, 19 Sep 2009 14:22:27 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/seth/2009/08/11/how-many-blocks-are-in-that-model/#comment-855</guid>
		<description>@Wei, Stateflow metrics for a model are obtained via the &#039;CountSF&#039; option of sldiagnostics.</description>
		<content:encoded><![CDATA[<p>@Wei, Stateflow metrics for a model are obtained via the &#8216;CountSF&#8217; option of sldiagnostics.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Seth</title>
		<link>http://blogs.mathworks.com/seth/2009/08/11/how-many-blocks-are-in-that-model/#comment-850</link>
		<dc:creator>Seth</dc:creator>
		<pubDate>Tue, 15 Sep 2009 12:18:02 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/seth/2009/08/11/how-many-blocks-are-in-that-model/#comment-850</guid>
		<description>@Gen - Thanks for the link to the file Gen!</description>
		<content:encoded><![CDATA[<p>@Gen &#8211; Thanks for the link to the file Gen!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gen Sasaki</title>
		<link>http://blogs.mathworks.com/seth/2009/08/11/how-many-blocks-are-in-that-model/#comment-849</link>
		<dc:creator>Gen Sasaki</dc:creator>
		<pubDate>Mon, 14 Sep 2009 20:51:47 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/seth/2009/08/11/how-many-blocks-are-in-that-model/#comment-849</guid>
		<description>Whoops, I wrote too soon.  The second parameter of find_mdlrefs defaults to true, so your code will also find nested model references.</description>
		<content:encoded><![CDATA[<p>Whoops, I wrote too soon.  The second parameter of find_mdlrefs defaults to true, so your code will also find nested model references.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gen Sasaki</title>
		<link>http://blogs.mathworks.com/seth/2009/08/11/how-many-blocks-are-in-that-model/#comment-848</link>
		<dc:creator>Gen Sasaki</dc:creator>
		<pubDate>Mon, 14 Sep 2009 20:15:49 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/seth/2009/08/11/how-many-blocks-are-in-that-model/#comment-848</guid>
		<description>Hi Seth,
It may be of interest to our users that someone in MathWorks Consulting has uploaded a script which does something similar as the above, except it goes inside nested model reference blocks.  (&lt;a href=&quot;http://www.mathworks.com/matlabcentral/fileexchange/20568&quot; rel=&quot;nofollow&quot;&gt;http://www.mathworks.com/matlabcentral/fileexchange/20568&lt;/a&gt;) Your script above may be able to do the same if find_mdlrefs(mdl,true) is used.</description>
		<content:encoded><![CDATA[<p>Hi Seth,<br />
It may be of interest to our users that someone in MathWorks Consulting has uploaded a script which does something similar as the above, except it goes inside nested model reference blocks.  (<a href="http://www.mathworks.com/matlabcentral/fileexchange/20568" rel="nofollow">http://www.mathworks.com/matlabcentral/fileexchange/20568</a>) Your script above may be able to do the same if find_mdlrefs(mdl,true) is used.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wei</title>
		<link>http://blogs.mathworks.com/seth/2009/08/11/how-many-blocks-are-in-that-model/#comment-821</link>
		<dc:creator>wei</dc:creator>
		<pubDate>Wed, 12 Aug 2009 12:54:13 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/seth/2009/08/11/how-many-blocks-are-in-that-model/#comment-821</guid>
		<description>@Seth, Interestingly this functions counts blocks inside of library Simulink subsystems, but not objects inside of library Stateflow charts. Is there way to work around this?</description>
		<content:encoded><![CDATA[<p>@Seth, Interestingly this functions counts blocks inside of library Simulink subsystems, but not objects inside of library Stateflow charts. Is there way to work around this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jim</title>
		<link>http://blogs.mathworks.com/seth/2009/08/11/how-many-blocks-are-in-that-model/#comment-820</link>
		<dc:creator>Jim</dc:creator>
		<pubDate>Wed, 12 Aug 2009 12:45:22 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/seth/2009/08/11/how-many-blocks-are-in-that-model/#comment-820</guid>
		<description>Seth,
There are two related items I&#039;d like to be able to generate from a script - the model&#039;s cyclomatic complexity and the block sort order. Is there any way to return these to a workspace variable using a script?</description>
		<content:encoded><![CDATA[<p>Seth,<br />
There are two related items I&#8217;d like to be able to generate from a script &#8211; the model&#8217;s cyclomatic complexity and the block sort order. Is there any way to return these to a workspace variable using a script?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

