<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: Where Does That Variable Come From?</title>
	<link>http://blogs.mathworks.com/seth/2009/02/15/where-does-that-variable-come-from/</link>
	<description>This blog is about Simulink.</description>
	<pubDate>Sun, 22 Nov 2009 23:07:08 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.1</generator>
		<item>
		<title>By: Seth</title>
		<link>http://blogs.mathworks.com/seth/2009/02/15/where-does-that-variable-come-from/#comment-707</link>
		<dc:creator>Seth</dc:creator>
		<pubDate>Wed, 11 Mar 2009 20:47:52 +0000</pubDate>
		<guid>http://blogs.mathworks.com/seth/2009/02/15/where-does-that-variable-come-from/#comment-707</guid>
		<description>@John - the model explorer doesn't provide a view into the mask workspace, but it is possible to explore what variables exist.  Try: get_param(gcb,'MaskWSVariables')

@Anand Rangaramu - When the M-file runs in the Init function, it is run in the base workspace.  You could instead run the file to initialize the model workspace.  Set the Data source to M-code and run your file there.  This will populate the model workspace and avoid cluttering the MATLAB Base workspace with variables only used by this model.

Check out the &lt;a href="http://www.mathworks.com/access/helpdesk/help/toolbox/simulink/ug/f4-140122.html#f4-140205" rel="nofollow"&gt;Model Workspace&lt;/a&gt; documentation for more details.</description>
		<content:encoded><![CDATA[<p>@John - the model explorer doesn&#8217;t provide a view into the mask workspace, but it is possible to explore what variables exist.  Try: get_param(gcb,&#8217;MaskWSVariables&#8217;)</p>
<p>@Anand Rangaramu - When the M-file runs in the Init function, it is run in the base workspace.  You could instead run the file to initialize the model workspace.  Set the Data source to M-code and run your file there.  This will populate the model workspace and avoid cluttering the MATLAB Base workspace with variables only used by this model.</p>
<p>Check out the <a href="http://www.mathworks.com/access/helpdesk/help/toolbox/simulink/ug/f4-140122.html#f4-140205" rel="nofollow">Model Workspace</a> documentation for more details.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anand Rangaramu</title>
		<link>http://blogs.mathworks.com/seth/2009/02/15/where-does-that-variable-come-from/#comment-691</link>
		<dc:creator>Anand Rangaramu</dc:creator>
		<pubDate>Fri, 20 Feb 2009 07:27:59 +0000</pubDate>
		<guid>http://blogs.mathworks.com/seth/2009/02/15/where-does-that-variable-come-from/#comment-691</guid>
		<description>Seth,
I have .m files where I define the variable and its values. I refer this .m file in the Init function of the model properties. In this method all the variables wil be added to global workspace. (I mean i can see the variables on workspace screen). Is there anyway I can avoid listing these variables visible to the main matlab workspace.

Thanks</description>
		<content:encoded><![CDATA[<p>Seth,<br />
I have .m files where I define the variable and its values. I refer this .m file in the Init function of the model properties. In this method all the variables wil be added to global workspace. (I mean i can see the variables on workspace screen). Is there anyway I can avoid listing these variables visible to the main matlab workspace.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://blogs.mathworks.com/seth/2009/02/15/where-does-that-variable-come-from/#comment-688</link>
		<dc:creator>John</dc:creator>
		<pubDate>Mon, 16 Feb 2009 21:04:06 +0000</pubDate>
		<guid>http://blogs.mathworks.com/seth/2009/02/15/where-does-that-variable-come-from/#comment-688</guid>
		<description>Seth,

Is it possible to see the mask workspace variables from the model explorer? 

Thank you,
John</description>
		<content:encoded><![CDATA[<p>Seth,</p>
<p>Is it possible to see the mask workspace variables from the model explorer? </p>
<p>Thank you,<br />
John</p>
]]></content:encoded>
	</item>
</channel>
</rss>
