<?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: A Historical Tour of the Library Browser</title>
	<atom:link href="http://blogs.mathworks.com/seth/2008/03/18/a-historical-tour-of-the-library-browser/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.mathworks.com/seth/2008/03/18/a-historical-tour-of-the-library-browser/</link>
	<description>This blog is about Simulink.</description>
	<lastBuildDate>Mon, 13 Feb 2012 02:07:34 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Guy Rouleau</title>
		<link>http://blogs.mathworks.com/seth/2008/03/18/a-historical-tour-of-the-library-browser/#comment-1697</link>
		<dc:creator>Guy Rouleau</dc:creator>
		<pubDate>Mon, 30 Jan 2012 14:46:14 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/seth/2008/03/18/a-historical-tour-of-the-library-browser/#comment-1697</guid>
		<description>@RandomPerson: 

Your MATLAB files need to be on the MATLAB path. If you execute:

which -all filename.m

MATLAB will find the files if they are on the path. 

This link should help:

http://www.mathworks.com/help/releases/R2011b/techdoc/matlab_env/br7ppws-1.html#bsdv_lr</description>
		<content:encoded><![CDATA[<p>@RandomPerson: </p>
<p>Your MATLAB files need to be on the MATLAB path. If you execute:</p>
<p>which -all filename.m</p>
<p>MATLAB will find the files if they are on the path. </p>
<p>This link should help:</p>
<p><a href="http://www.mathworks.com/help/releases/R2011b/techdoc/matlab_env/br7ppws-1.html#bsdv_lr" rel="nofollow">http://www.mathworks.com/help/releases/R2011b/techdoc/matlab_env/br7ppws-1.html#bsdv_lr</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RandomPerson</title>
		<link>http://blogs.mathworks.com/seth/2008/03/18/a-historical-tour-of-the-library-browser/#comment-1694</link>
		<dc:creator>RandomPerson</dc:creator>
		<pubDate>Thu, 26 Jan 2012 21:47:19 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/seth/2008/03/18/a-historical-tour-of-the-library-browser/#comment-1694</guid>
		<description>Hi,

I&#039;m not sure if you will reply to a comment on a blog post written 4 years ago but here goes:

I managed to implement my own Simulink library following the instructions posted here, everything seems to work but there are a few things that I havent found a solution for:

I want to implement a library block which depends on several level-2 s-functions written in m code. The m code are written in terms of different function files - the Simulink block relies on them to access functions not normally accessible within Simulink. The library block fails to function if the .m code for the s-function is not in the same directory, claiming that the file is not found. If i do include these .m files in the same directory, everything is fine, however, i want to avoid having to include these .m files in every instance that this library is used. Even when specifying a full directory path (ie: C:\Program Files\MATLAB\R2008a\toolbox\\.m) in the M-S-function m-file name entry, it fails to find it. I&#039;ve ensured that all the s-function m code is within the same directory path as the library model file. When running the &#039;path&#039; command, the directory corresponding to my custom library is visible, so ideally it should be able to access my custom s-functions  contained inside them as well.


I was looking at some examples of how the standard Simulink libraries are implemented, many of them use level 1 s-functions to interact with .mex files, located deep within the sub-directories of the /toolbox/ folder. In the slblock.m file for each library, there is no mention of the directory paths for these dependent mex files. Is there some command i should be aware of that updates Simulink&#039;s Library&#039;s access to .mex/s-function code that i should be aware of?


Thanks,</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I&#8217;m not sure if you will reply to a comment on a blog post written 4 years ago but here goes:</p>
<p>I managed to implement my own Simulink library following the instructions posted here, everything seems to work but there are a few things that I havent found a solution for:</p>
<p>I want to implement a library block which depends on several level-2 s-functions written in m code. The m code are written in terms of different function files &#8211; the Simulink block relies on them to access functions not normally accessible within Simulink. The library block fails to function if the .m code for the s-function is not in the same directory, claiming that the file is not found. If i do include these .m files in the same directory, everything is fine, however, i want to avoid having to include these .m files in every instance that this library is used. Even when specifying a full directory path (ie: C:\Program Files\MATLAB\R2008a\toolbox\\.m) in the M-S-function m-file name entry, it fails to find it. I&#8217;ve ensured that all the s-function m code is within the same directory path as the library model file. When running the &#8216;path&#8217; command, the directory corresponding to my custom library is visible, so ideally it should be able to access my custom s-functions  contained inside them as well.</p>
<p>I was looking at some examples of how the standard Simulink libraries are implemented, many of them use level 1 s-functions to interact with .mex files, located deep within the sub-directories of the /toolbox/ folder. In the slblock.m file for each library, there is no mention of the directory paths for these dependent mex files. Is there some command i should be aware of that updates Simulink&#8217;s Library&#8217;s access to .mex/s-function code that i should be aware of?</p>
<p>Thanks,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josip</title>
		<link>http://blogs.mathworks.com/seth/2008/03/18/a-historical-tour-of-the-library-browser/#comment-1171</link>
		<dc:creator>Josip</dc:creator>
		<pubDate>Sat, 31 Jul 2010 15:52:50 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/seth/2008/03/18/a-historical-tour-of-the-library-browser/#comment-1171</guid>
		<description>Hi,

I created a custom library in Simulink 2008a on Windows. It contains few sublibraries and one block. Library appears in the Library Browser but when I select it, only the one block is displayed on the right side of the Browser. Sublibraries are not visible. When I open the library by right clicking on it in the tree view and selecting &#039;Open MyLibName library&#039;, I can normally browse through sublibraries. Any clues? 

Thanks in advance!</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I created a custom library in Simulink 2008a on Windows. It contains few sublibraries and one block. Library appears in the Library Browser but when I select it, only the one block is displayed on the right side of the Browser. Sublibraries are not visible. When I open the library by right clicking on it in the tree view and selecting &#8216;Open MyLibName library&#8217;, I can normally browse through sublibraries. Any clues? </p>
<p>Thanks in advance!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Seth</title>
		<link>http://blogs.mathworks.com/seth/2008/03/18/a-historical-tour-of-the-library-browser/#comment-1023</link>
		<dc:creator>Seth</dc:creator>
		<pubDate>Tue, 23 Mar 2010 19:22:10 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/seth/2008/03/18/a-historical-tour-of-the-library-browser/#comment-1023</guid>
		<description>@PRao - It is hard to know what is working/not working for you.  Subsystems can be used as sub-libraries, so you may want to add some non-virtual blocks (like a Gain) to your library, then test it again.  Good luck!</description>
		<content:encoded><![CDATA[<p>@PRao &#8211; It is hard to know what is working/not working for you.  Subsystems can be used as sub-libraries, so you may want to add some non-virtual blocks (like a Gain) to your library, then test it again.  Good luck!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sakthivel</title>
		<link>http://blogs.mathworks.com/seth/2008/03/18/a-historical-tour-of-the-library-browser/#comment-990</link>
		<dc:creator>sakthivel</dc:creator>
		<pubDate>Mon, 08 Mar 2010 04:54:15 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/seth/2008/03/18/a-historical-tour-of-the-library-browser/#comment-990</guid>
		<description>Try to give exact path of the VHDL file in configuration file</description>
		<content:encoded><![CDATA[<p>Try to give exact path of the VHDL file in configuration file</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PRao</title>
		<link>http://blogs.mathworks.com/seth/2008/03/18/a-historical-tour-of-the-library-browser/#comment-987</link>
		<dc:creator>PRao</dc:creator>
		<pubDate>Fri, 05 Mar 2010 19:56:00 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/seth/2008/03/18/a-historical-tour-of-the-library-browser/#comment-987</guid>
		<description>I created a test library as described above with two blocks (both simple subsystems with one input and one output). It shows up in the &quot;Libraries&quot; pane of the library browser. But nothing shows up in the pane on the right. The Block Description window in the bottom says &quot;No block is selected&quot;. I am creating a library for the first time so I am sure I have missed something. Any help would be appreciated. Thanks.</description>
		<content:encoded><![CDATA[<p>I created a test library as described above with two blocks (both simple subsystems with one input and one output). It shows up in the &#8220;Libraries&#8221; pane of the library browser. But nothing shows up in the pane on the right. The Block Description window in the bottom says &#8220;No block is selected&#8221;. I am creating a library for the first time so I am sure I have missed something. Any help would be appreciated. Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Seth</title>
		<link>http://blogs.mathworks.com/seth/2008/03/18/a-historical-tour-of-the-library-browser/#comment-957</link>
		<dc:creator>Seth</dc:creator>
		<pubDate>Mon, 25 Jan 2010 20:17:52 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/seth/2008/03/18/a-historical-tour-of-the-library-browser/#comment-957</guid>
		<description>@sakthivel - I am not familiar with the Xilinx black box.  Some 3rd party blocks use a CopyFcn to add information to the model or modify the block when it is added to a new model. When these blocks are added to the model, they might delete this function so it doesn&#039;t repeat that step. If your block doesn&#039;t have this callback, it may fail in strange ways.  Your best bet might be to contact the maker of the block.  Good luck.</description>
		<content:encoded><![CDATA[<p>@sakthivel &#8211; I am not familiar with the Xilinx black box.  Some 3rd party blocks use a CopyFcn to add information to the model or modify the block when it is added to a new model. When these blocks are added to the model, they might delete this function so it doesn&#8217;t repeat that step. If your block doesn&#8217;t have this callback, it may fail in strange ways.  Your best bet might be to contact the maker of the block.  Good luck.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sakthivel</title>
		<link>http://blogs.mathworks.com/seth/2008/03/18/a-historical-tour-of-the-library-browser/#comment-956</link>
		<dc:creator>sakthivel</dc:creator>
		<pubDate>Mon, 25 Jan 2010 03:51:19 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/seth/2008/03/18/a-historical-tour-of-the-library-browser/#comment-956</guid>
		<description>Hi,

I have created a module using Xilink black box with VHDL. I added to simulink library using slblocks.m file. but when i am trying to use my lib it showing error. VHDL file not found. I kept all VHDL files in library folder only. any suggestion plz? 

thanks in advance</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I have created a module using Xilink black box with VHDL. I added to simulink library using slblocks.m file. but when i am trying to use my lib it showing error. VHDL file not found. I kept all VHDL files in library folder only. any suggestion plz? </p>
<p>thanks in advance</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Seth</title>
		<link>http://blogs.mathworks.com/seth/2008/03/18/a-historical-tour-of-the-library-browser/#comment-657</link>
		<dc:creator>Seth</dc:creator>
		<pubDate>Mon, 12 Jan 2009 14:20:47 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/seth/2008/03/18/a-historical-tour-of-the-library-browser/#comment-657</guid>
		<description>@Rajkiran - I don&#039;t know what to suggest.  Check that you named your file &quot;slblocks.m&quot;, that is is on the path, (which -all slblocks.m) and that it returns a valid blkStruct structure.  Good luck!</description>
		<content:encoded><![CDATA[<p>@Rajkiran &#8211; I don&#8217;t know what to suggest.  Check that you named your file &#8220;slblocks.m&#8221;, that is is on the path, (which -all slblocks.m) and that it returns a valid blkStruct structure.  Good luck!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rajkiran</title>
		<link>http://blogs.mathworks.com/seth/2008/03/18/a-historical-tour-of-the-library-browser/#comment-652</link>
		<dc:creator>Rajkiran</dc:creator>
		<pubDate>Wed, 07 Jan 2009 03:10:49 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/seth/2008/03/18/a-historical-tour-of-the-library-browser/#comment-652</guid>
		<description>thank u for the tutorial. Well i tried adding the library. however it didn&#039;t work. i tried adding the path and restarting matlab, still it didn&#039;t work.

Regards
Rajkiran</description>
		<content:encoded><![CDATA[<p>thank u for the tutorial. Well i tried adding the library. however it didn&#8217;t work. i tried adding the path and restarting matlab, still it didn&#8217;t work.</p>
<p>Regards<br />
Rajkiran</p>
]]></content:encoded>
	</item>
</channel>
</rss>

