<?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: Libraries in Simulink</title>
	<atom:link href="http://blogs.mathworks.com/seth/2008/07/18/libraries-in-simulink/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.mathworks.com/seth/2008/07/18/libraries-in-simulink/</link>
	<description>This blog is about Simulink.</description>
	<lastBuildDate>Fri, 10 Feb 2012 13:23:56 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Thomas</title>
		<link>http://blogs.mathworks.com/seth/2008/07/18/libraries-in-simulink/#comment-1546</link>
		<dc:creator>Thomas</dc:creator>
		<pubDate>Tue, 09 Aug 2011 10:13:11 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/seth/2008/07/18/libraries-in-simulink/#comment-1546</guid>
		<description>Hi

In regards to libraries I cannot find any information regarding the ability to update a version of a model at its source file which then updates the block held within the library file. 

Is this possible or do you need to open up the library file every time and copy the updated block in?

thanks!</description>
		<content:encoded><![CDATA[<p>Hi</p>
<p>In regards to libraries I cannot find any information regarding the ability to update a version of a model at its source file which then updates the block held within the library file. </p>
<p>Is this possible or do you need to open up the library file every time and copy the updated block in?</p>
<p>thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Moreno</title>
		<link>http://blogs.mathworks.com/seth/2008/07/18/libraries-in-simulink/#comment-1255</link>
		<dc:creator>Moreno</dc:creator>
		<pubDate>Wed, 13 Oct 2010 12:39:21 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/seth/2008/07/18/libraries-in-simulink/#comment-1255</guid>
		<description>@Seth,@Zhibo; Thanks for your answer I found another very usefull document concerning Libraries vs Model Reference at &quot;http://www.mathworks.com/programs/cd_mbd/&quot; Large-Scale Modeling for Embedded Applications</description>
		<content:encoded><![CDATA[<p>@Seth,@Zhibo; Thanks for your answer I found another very usefull document concerning Libraries vs Model Reference at &#8220;http://www.mathworks.com/programs/cd_mbd/&#8221; Large-Scale Modeling for Embedded Applications</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Seth</title>
		<link>http://blogs.mathworks.com/seth/2008/07/18/libraries-in-simulink/#comment-1254</link>
		<dc:creator>Seth</dc:creator>
		<pubDate>Tue, 12 Oct 2010 17:59:29 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/seth/2008/07/18/libraries-in-simulink/#comment-1254</guid>
		<description>@Zhibo, @Moreno: When you say Libraries vs Model Reference, I interpret your question as when to use SUBSYSTEMS vs Model Reference.  Generally, it is an architectural choice.  We have seen people take Model Reference to the wrong extreeme, such as, reference models with only 3 blocks in them.  This is more appropriately modeled with subsystems.  Generally, if you have a plan for your model architecture, you can easily try model reference at certain levels, and decide if it meets your need.  If you select a level that is too low in the hierarchy, you end up with the problem I describe above.  If you select a level too high in the hierarchy, you don&#039;t get the maximum benefit from Model Reference features (such as incremental workflows, and componetization).&lt;br&gt;&lt;br&gt;

There are existing guidelines that address the use of Model Reference.  The one I have most recently looked at is the NASA Orion GN&amp;C Standards. I reccomend you review those, and search for &quot;model reference&quot;:&lt;br&gt;&lt;br&gt;

http://www.mathworks.com/aerospace-defense/standards/nasa.html
&lt;br&gt;&lt;br&gt;
Or, go directly to the &lt;a href=&quot;http://www.mathworks.com/aerospace-defense/standards/FltDyn-CEV-08-148_MATLAB_Standards_v8_20091117.pdf&quot; rel=&quot;nofollow&quot;&gt;NASA Orion GN&amp;C Simulink Standards PDF&lt;/a&gt;, section 4.4.3 ORION GN&amp;C Model Architecture Decomposition for an example of how they did it.</description>
		<content:encoded><![CDATA[<p>@Zhibo, @Moreno: When you say Libraries vs Model Reference, I interpret your question as when to use SUBSYSTEMS vs Model Reference.  Generally, it is an architectural choice.  We have seen people take Model Reference to the wrong extreeme, such as, reference models with only 3 blocks in them.  This is more appropriately modeled with subsystems.  Generally, if you have a plan for your model architecture, you can easily try model reference at certain levels, and decide if it meets your need.  If you select a level that is too low in the hierarchy, you end up with the problem I describe above.  If you select a level too high in the hierarchy, you don&#8217;t get the maximum benefit from Model Reference features (such as incremental workflows, and componetization).</p>
<p>There are existing guidelines that address the use of Model Reference.  The one I have most recently looked at is the NASA Orion GN&#038;C Standards. I reccomend you review those, and search for &#8220;model reference&#8221;:</p>
<p><a href="http://www.mathworks.com/aerospace-defense/standards/nasa.html" rel="nofollow">http://www.mathworks.com/aerospace-defense/standards/nasa.html</a></p>
<p>Or, go directly to the <a href="http://www.mathworks.com/aerospace-defense/standards/FltDyn-CEV-08-148_MATLAB_Standards_v8_20091117.pdf" rel="nofollow">NASA Orion GN&#038;C Simulink Standards PDF</a>, section 4.4.3 ORION GN&#038;C Model Architecture Decomposition for an example of how they did it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Moreno</title>
		<link>http://blogs.mathworks.com/seth/2008/07/18/libraries-in-simulink/#comment-1252</link>
		<dc:creator>Moreno</dc:creator>
		<pubDate>Tue, 12 Oct 2010 09:08:24 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/seth/2008/07/18/libraries-in-simulink/#comment-1252</guid>
		<description>Dear Zhibo,
Please let me know if you find any guideline/document advising &quot;when to use libraries vs model referencing&quot;. 
I&#039;m facing the same issue, what should be used for large collaborative models?</description>
		<content:encoded><![CDATA[<p>Dear Zhibo,<br />
Please let me know if you find any guideline/document advising &#8220;when to use libraries vs model referencing&#8221;.<br />
I&#8217;m facing the same issue, what should be used for large collaborative models?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zhibo</title>
		<link>http://blogs.mathworks.com/seth/2008/07/18/libraries-in-simulink/#comment-1129</link>
		<dc:creator>Zhibo</dc:creator>
		<pubDate>Tue, 22 Jun 2010 13:16:31 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/seth/2008/07/18/libraries-in-simulink/#comment-1129</guid>
		<description>I would like to know when to use libraries vs model referencing too. Thanks!</description>
		<content:encoded><![CDATA[<p>I would like to know when to use libraries vs model referencing too. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Seth</title>
		<link>http://blogs.mathworks.com/seth/2008/07/18/libraries-in-simulink/#comment-1046</link>
		<dc:creator>Seth</dc:creator>
		<pubDate>Fri, 02 Apr 2010 18:55:26 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/seth/2008/07/18/libraries-in-simulink/#comment-1046</guid>
		<description>@Alex - XML is not a part of embedded code generation with Real-Time Workshop.  We have documentation that describes how to &lt;a href=&quot;http://www.mathworks.com/access/helpdesk/help/toolbox/rptgenext/ug/bqnd199.html&quot; rel=&quot;nofollow&quot;&gt;compare XML files exported from Simulink models&lt;/a&gt;.  That is a good resource to reference for more information on this capability.</description>
		<content:encoded><![CDATA[<p>@Alex &#8211; XML is not a part of embedded code generation with Real-Time Workshop.  We have documentation that describes how to <a href="http://www.mathworks.com/access/helpdesk/help/toolbox/rptgenext/ug/bqnd199.html" rel="nofollow">compare XML files exported from Simulink models</a>.  That is a good resource to reference for more information on this capability.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://blogs.mathworks.com/seth/2008/07/18/libraries-in-simulink/#comment-1045</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Fri, 02 Apr 2010 03:57:50 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/seth/2008/07/18/libraries-in-simulink/#comment-1045</guid>
		<description>Seth, I am confused with how XML is being used with Mathworks products. Does there exist the capability to generate embedded code from XML? If so where can I read more about it.</description>
		<content:encoded><![CDATA[<p>Seth, I am confused with how XML is being used with Mathworks products. Does there exist the capability to generate embedded code from XML? If so where can I read more about it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Guy</title>
		<link>http://blogs.mathworks.com/seth/2008/07/18/libraries-in-simulink/#comment-868</link>
		<dc:creator>Guy</dc:creator>
		<pubDate>Mon, 05 Oct 2009 14:20:21 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/seth/2008/07/18/libraries-in-simulink/#comment-868</guid>
		<description>Patrick,

You are right when you mention that adding a &quot;Mask Description&quot; to a masked subsystem in a library makes it not-expandable. 

This is coherent with the behavior of masked subsystems in a model. Typically you mask a subsystem when you think the user should not look inside. If the user should not look inside, then the subsystem should not expand in the Library Browser.

As an additional note, if a masked subsystem have parameters, you do not need to add a &quot;Mask Description&quot; to hide it&#039;s content. For masked subsystems without parameters, it is by adding a &quot;Mask Description&quot; that you force the user to &quot;look under mask&quot; to see its content.

Guy</description>
		<content:encoded><![CDATA[<p>Patrick,</p>
<p>You are right when you mention that adding a &#8220;Mask Description&#8221; to a masked subsystem in a library makes it not-expandable. </p>
<p>This is coherent with the behavior of masked subsystems in a model. Typically you mask a subsystem when you think the user should not look inside. If the user should not look inside, then the subsystem should not expand in the Library Browser.</p>
<p>As an additional note, if a masked subsystem have parameters, you do not need to add a &#8220;Mask Description&#8221; to hide it&#8217;s content. For masked subsystems without parameters, it is by adding a &#8220;Mask Description&#8221; that you force the user to &#8220;look under mask&#8221; to see its content.</p>
<p>Guy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Patrick</title>
		<link>http://blogs.mathworks.com/seth/2008/07/18/libraries-in-simulink/#comment-863</link>
		<dc:creator>Patrick</dc:creator>
		<pubDate>Fri, 02 Oct 2009 17:27:20 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/seth/2008/07/18/libraries-in-simulink/#comment-863</guid>
		<description>Guy,

I&#039;ve recently run into a related issue.  It would appear that if you create your own masked sub-system and want to include it in a library in an expandable form, you cannot add any &quot;Mask Description&quot;.  Including a &quot;Mask type&quot; seems to work fine though.  This is using 2007b...haven&#039;t tried anything newer yet.

Patrick</description>
		<content:encoded><![CDATA[<p>Guy,</p>
<p>I&#8217;ve recently run into a related issue.  It would appear that if you create your own masked sub-system and want to include it in a library in an expandable form, you cannot add any &#8220;Mask Description&#8221;.  Including a &#8220;Mask type&#8221; seems to work fine though.  This is using 2007b&#8230;haven&#8217;t tried anything newer yet.</p>
<p>Patrick</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Guy</title>
		<link>http://blogs.mathworks.com/seth/2008/07/18/libraries-in-simulink/#comment-792</link>
		<dc:creator>Guy</dc:creator>
		<pubDate>Tue, 30 Jun 2009 23:14:15 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/seth/2008/07/18/libraries-in-simulink/#comment-792</guid>
		<description>@Pat and Paul, I agree that the slblocks documentation is unexisting. From what I remember, when subsystems are masked the Library browser does not expand them and you cannot see what is under the mask.

I think the reason for this behaviour is that if you place a block in the library browser you don&#039;t want the user to modify it. If you don&#039;t need to define any parameters for the mask, fill some info in the documentation tab of the mask editor.

I hope it helps.

Guy</description>
		<content:encoded><![CDATA[<p>@Pat and Paul, I agree that the slblocks documentation is unexisting. From what I remember, when subsystems are masked the Library browser does not expand them and you cannot see what is under the mask.</p>
<p>I think the reason for this behaviour is that if you place a block in the library browser you don&#8217;t want the user to modify it. If you don&#8217;t need to define any parameters for the mask, fill some info in the documentation tab of the mask editor.</p>
<p>I hope it helps.</p>
<p>Guy</p>
]]></content:encoded>
	</item>
</channel>
</rss>

