<?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: Customizing Matlab&#039;s Workspace table	</title>
	<atom:link href="https://undocumentedmatlab.com/articles/customizing-matlabs-workspace-table/feed" rel="self" type="application/rss+xml" />
	<link>https://undocumentedmatlab.com/articles/customizing-matlabs-workspace-table?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=customizing-matlabs-workspace-table</link>
	<description>Professional Matlab consulting, development and training</description>
	<lastBuildDate>Thu, 29 Nov 2012 22:07:34 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.3</generator>
	<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/customizing-matlabs-workspace-table#comment-127959</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Thu, 29 Nov 2012 22:07:34 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=882#comment-127959</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/customizing-matlabs-workspace-table#comment-127954&quot;&gt;Fred&lt;/a&gt;.

@Fred - no need for any Java magic. Simply go to the main Desktop menu-bar, then choose &lt;code&gt;View =&#062; Choose Columns&lt;/code&gt;]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/customizing-matlabs-workspace-table#comment-127954">Fred</a>.</p>
<p>@Fred &#8211; no need for any Java magic. Simply go to the main Desktop menu-bar, then choose <code>View =&gt; Choose Columns</code></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Fred		</title>
		<link>https://undocumentedmatlab.com/articles/customizing-matlabs-workspace-table#comment-127954</link>

		<dc:creator><![CDATA[Fred]]></dc:creator>
		<pubDate>Thu, 29 Nov 2012 21:22:59 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=882#comment-127954</guid>

					<description><![CDATA[Hi, 
I&#039;m having a weird bug in R2010b running on linux. The right-click is disabled in the table column header of the workspace, so I can only see the columns enabled by default (Name, Value, Min, Max). I really need to see &quot;Bytes&quot; at least! Would you have any idea how to sort this out with your Java magic?
I was thinking: either we need to enable the mouse listener if it&#039;s been disabled for some reason, or access the table model somehow and manually add the column?
It&#039;d be really great if you can help!]]></description>
			<content:encoded><![CDATA[<p>Hi,<br />
I&#8217;m having a weird bug in R2010b running on linux. The right-click is disabled in the table column header of the workspace, so I can only see the columns enabled by default (Name, Value, Min, Max). I really need to see &#8220;Bytes&#8221; at least! Would you have any idea how to sort this out with your Java magic?<br />
I was thinking: either we need to enable the mouse listener if it&#8217;s been disabled for some reason, or access the table model somehow and manually add the column?<br />
It&#8217;d be really great if you can help!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/customizing-matlabs-workspace-table#comment-78654</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Thu, 22 Mar 2012 21:38:12 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=882#comment-78654</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/customizing-matlabs-workspace-table#comment-78423&quot;&gt;Lukasz Wiklendt&lt;/a&gt;.

@Lukasz - try
&lt;pre lang=&quot;matlab&quot;&gt;jWSBrowser = jDesktop.getClientByName(&#039;Workspace&#039;)&lt;/pre&gt;]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/customizing-matlabs-workspace-table#comment-78423">Lukasz Wiklendt</a>.</p>
<p>@Lukasz &#8211; try</p>
<pre lang="matlab">jWSBrowser = jDesktop.getClientByName('Workspace')</pre>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Lukasz Wiklendt		</title>
		<link>https://undocumentedmatlab.com/articles/customizing-matlabs-workspace-table#comment-78649</link>

		<dc:creator><![CDATA[Lukasz Wiklendt]]></dc:creator>
		<pubDate>Thu, 22 Mar 2012 21:16:18 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=882#comment-78649</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/customizing-matlabs-workspace-table#comment-78423&quot;&gt;Lukasz Wiklendt&lt;/a&gt;.

Putting this in startup.m:
&lt;pre lang=&quot;matlab&quot;&gt;jDesktop = com.mathworks.mde.desk.MLDesktop.getInstance;
jDesktop.getClientTitles
jDesktop.getClient(&#039;Workspace&#039;)
&lt;/pre&gt;

results in this showing up in the command window:
&lt;pre lang=&quot;matlab&quot;&gt;ans =
java.lang.String[]:
    &#039;Command Window&#039;
    &#039;Command History&#039;
    &#039;Current Folder&#039;
    &#039;Workspace&#039;
    &#039;Help&#039;
    &#039;Profiler&#039;
    &#039;File Exchange&#039;
    &#039;Figure Palette&#039;
    &#039;Plot Browser&#039;
    &#039;Property Editor&#039;

ans =
     []
&lt;/pre&gt;]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/customizing-matlabs-workspace-table#comment-78423">Lukasz Wiklendt</a>.</p>
<p>Putting this in startup.m:</p>
<pre lang="matlab">jDesktop = com.mathworks.mde.desk.MLDesktop.getInstance;
jDesktop.getClientTitles
jDesktop.getClient('Workspace')
</pre>
<p>results in this showing up in the command window:</p>
<pre lang="matlab">ans =
java.lang.String[]:
    'Command Window'
    'Command History'
    'Current Folder'
    'Workspace'
    'Help'
    'Profiler'
    'File Exchange'
    'Figure Palette'
    'Plot Browser'
    'Property Editor'

ans =
     []
</pre>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/customizing-matlabs-workspace-table#comment-78460</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Wed, 21 Mar 2012 07:28:12 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=882#comment-78460</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/customizing-matlabs-workspace-table#comment-78423&quot;&gt;Lukasz Wiklendt&lt;/a&gt;.

@Lukasz - maybe your Workspace client is called something else. run &lt;code&gt;jDesktop.getClientTitles&lt;/code&gt; to get the full list of clients in your Matlab - the Workspace should be near the top of this list:

&lt;pre lang=&#039;matlab&#039;&gt;
&gt;&gt; jDesktop.getClientTitles
ans =
 
java.lang.String[]:
    &#039;Command Window&#039;
    &#039;Command History&#039;
    &#039;Current Folder&#039;
    &#039;Workspace&#039;
    &#039;Help&#039;
    &#039;Profiler&#039;
    &#039;File Exchange&#039;
    ...
&lt;/pre&gt;]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/customizing-matlabs-workspace-table#comment-78423">Lukasz Wiklendt</a>.</p>
<p>@Lukasz &#8211; maybe your Workspace client is called something else. run <code>jDesktop.getClientTitles</code> to get the full list of clients in your Matlab &#8211; the Workspace should be near the top of this list:</p>
<pre lang='matlab'>
>> jDesktop.getClientTitles
ans =
 
java.lang.String[]:
    'Command Window'
    'Command History'
    'Current Folder'
    'Workspace'
    'Help'
    'Profiler'
    'File Exchange'
    ...
</pre>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Lukasz Wiklendt		</title>
		<link>https://undocumentedmatlab.com/articles/customizing-matlabs-workspace-table#comment-78423</link>

		<dc:creator><![CDATA[Lukasz Wiklendt]]></dc:creator>
		<pubDate>Tue, 20 Mar 2012 23:22:53 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=882#comment-78423</guid>

					<description><![CDATA[In Matlab 2011b the startup script fails since

&lt;pre lang=&quot;matlab&quot;&gt;jWSBrowser = jDesktop.getClient(&#039;Workspace&#039;);&lt;/pre&gt;

returns an empty array. The crude workaround that I use to get it to work again is

&lt;pre lang=&quot;matlab&quot;&gt;
jWSBrowser = [];
while isempty(jWSBrowser)
    jWSBrowser = jDesktop.getClient(&#039;Workspace&#039;);
end
&lt;/pre&gt;]]></description>
			<content:encoded><![CDATA[<p>In Matlab 2011b the startup script fails since</p>
<pre lang="matlab">jWSBrowser = jDesktop.getClient('Workspace');</pre>
<p>returns an empty array. The crude workaround that I use to get it to work again is</p>
<pre lang="matlab">
jWSBrowser = [];
while isempty(jWSBrowser)
    jWSBrowser = jDesktop.getClient('Workspace');
end
</pre>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Tarun Jhamnani		</title>
		<link>https://undocumentedmatlab.com/articles/customizing-matlabs-workspace-table#comment-57856</link>

		<dc:creator><![CDATA[Tarun Jhamnani]]></dc:creator>
		<pubDate>Tue, 27 Sep 2011 10:56:07 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=882#comment-57856</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/customizing-matlabs-workspace-table#comment-57855&quot;&gt;Yair Altman&lt;/a&gt;.

Looking forward for the article. Will definitely re-post.
Thanks Yair.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/customizing-matlabs-workspace-table#comment-57855">Yair Altman</a>.</p>
<p>Looking forward for the article. Will definitely re-post.<br />
Thanks Yair.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/customizing-matlabs-workspace-table#comment-57855</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Tue, 27 Sep 2011 10:28:13 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=882#comment-57855</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/customizing-matlabs-workspace-table#comment-57847&quot;&gt;Tarun Jhamnani&lt;/a&gt;.

There&#039;s probably a way somehow to monitor variable allocation and deallocation, but I do not know how to do it. If there is any person in the world (outside MathWorks) who knows, it would probably be Andrew Janke. I plan to post an article of his about Matlab&#039;s memory usage sometime in the hazy future, and you could re-post your question there.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/customizing-matlabs-workspace-table#comment-57847">Tarun Jhamnani</a>.</p>
<p>There&#8217;s probably a way somehow to monitor variable allocation and deallocation, but I do not know how to do it. If there is any person in the world (outside MathWorks) who knows, it would probably be Andrew Janke. I plan to post an article of his about Matlab&#8217;s memory usage sometime in the hazy future, and you could re-post your question there.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Tarun Jhamnani		</title>
		<link>https://undocumentedmatlab.com/articles/customizing-matlabs-workspace-table#comment-57847</link>

		<dc:creator><![CDATA[Tarun Jhamnani]]></dc:creator>
		<pubDate>Tue, 27 Sep 2011 09:27:40 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=882#comment-57847</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/customizing-matlabs-workspace-table#comment-57842&quot;&gt;Yair Altman&lt;/a&gt;.

Thanks Yair.
I was able to detect the variable deletion. As you have mentioned about CPU load, is there a way where deletion of particular variable can be detected (depending on memory location or something). I want to know more about variable storage in matlab environment so that I can monitor clearing of particular memory location (if it is possible).
The whole point being more efficient technique to monitor variable deletion.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/customizing-matlabs-workspace-table#comment-57842">Yair Altman</a>.</p>
<p>Thanks Yair.<br />
I was able to detect the variable deletion. As you have mentioned about CPU load, is there a way where deletion of particular variable can be detected (depending on memory location or something). I want to know more about variable storage in matlab environment so that I can monitor clearing of particular memory location (if it is possible).<br />
The whole point being more efficient technique to monitor variable deletion.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/customizing-matlabs-workspace-table#comment-57842</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Tue, 27 Sep 2011 07:58:31 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=882#comment-57842</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/customizing-matlabs-workspace-table#comment-57828&quot;&gt;Tarun Jhamnani&lt;/a&gt;.

@Tarun - you can try listening to the &lt;b&gt;TableChanged&lt;/b&gt; event on the workspace table&#039;s model:

&lt;pre lang=&quot;matlab&quot;&gt;
hjModel = handle(jWSTable.getModel, &#039;CallbackProperties&#039;);
set(hjModel, &#039;TableChangedCallback&#039;, @myCallbackFunction);
&lt;/pre&gt;

Just note that this keeps firing all the time so you need to check for actual changes in the rowcount at the very top of your callback and bail-out if no change. Otherwise your Matlab will get stuck in 100% CPU load just processing the callback events...]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/customizing-matlabs-workspace-table#comment-57828">Tarun Jhamnani</a>.</p>
<p>@Tarun &#8211; you can try listening to the <b>TableChanged</b> event on the workspace table&#8217;s model:</p>
<pre lang="matlab">
hjModel = handle(jWSTable.getModel, 'CallbackProperties');
set(hjModel, 'TableChangedCallback', @myCallbackFunction);
</pre>
<p>Just note that this keeps firing all the time so you need to check for actual changes in the rowcount at the very top of your callback and bail-out if no change. Otherwise your Matlab will get stuck in 100% CPU load just processing the callback events&#8230;</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
