<?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: Setting the Matlab desktop layout programmatically	</title>
	<atom:link href="https://undocumentedmatlab.com/articles/setting-the-matlab-desktop-layout-programmatically/feed" rel="self" type="application/rss+xml" />
	<link>https://undocumentedmatlab.com/articles/setting-the-matlab-desktop-layout-programmatically?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=setting-the-matlab-desktop-layout-programmatically</link>
	<description>Professional Matlab consulting, development and training</description>
	<lastBuildDate>Wed, 27 Mar 2024 17:56:18 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.3</generator>
	<item>
		<title>
		By: Dominik		</title>
		<link>https://undocumentedmatlab.com/articles/setting-the-matlab-desktop-layout-programmatically#comment-372655</link>

		<dc:creator><![CDATA[Dominik]]></dc:creator>
		<pubDate>Thu, 24 Mar 2016 09:47:32 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=431#comment-372655</guid>

					<description><![CDATA[Dear Yair,

thank you for all those helpful matlab secrets!
I was wondering how to arrange figures in my tiled custom desktop group.
The group I create like that: &lt;pre lang=&quot;matlab&quot;&gt;desktop.setDocumentArrangement(groupname, 2, java.awt.Dimension(nXPanes, nYPanes)); &lt;/pre&gt;
And the figures I associate via:
&lt;pre lang=&quot;matlab&quot;&gt; set(get(handle(o.figure), &#039;javaframe&#039;), &#039;GroupName&#039;, groupname); &lt;/pre&gt;
Now I would ideally like to control in which pane the figures are created and, possibly be able to create tabbed figures within one pane.
I would be delighted about any hint.

Thank you!]]></description>
			<content:encoded><![CDATA[<p>Dear Yair,</p>
<p>thank you for all those helpful matlab secrets!<br />
I was wondering how to arrange figures in my tiled custom desktop group.<br />
The group I create like that: </p>
<pre lang="matlab">desktop.setDocumentArrangement(groupname, 2, java.awt.Dimension(nXPanes, nYPanes)); </pre>
<p>And the figures I associate via:</p>
<pre lang="matlab"> set(get(handle(o.figure), 'javaframe'), 'GroupName', groupname); </pre>
<p>Now I would ideally like to control in which pane the figures are created and, possibly be able to create tabbed figures within one pane.<br />
I would be delighted about any hint.</p>
<p>Thank you!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/setting-the-matlab-desktop-layout-programmatically#comment-323912</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Tue, 29 Apr 2014 19:50:16 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=431#comment-323912</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/setting-the-matlab-desktop-layout-programmatically#comment-323911&quot;&gt;Anderson&lt;/a&gt;.

@Anderson:
&lt;pre lang=&#039;matlab&#039;&gt;
close(matlab.desktop.editor.findOpenDocument(&#039;myMatlabFunction.m&#039;))  % close editor file

close(findall(0, &#039;type&#039;,&#039;figure&#039;, &#039;name&#039;,&#039;My figure&#039;))  % close a specific figure window

jDesktop = com.mathworks.mde.desk.MLDesktop.getInstance;
jDesktop.closeGroup(&#039;Figures&#039;);  % close the Figures container
&lt;/pre&gt;]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/setting-the-matlab-desktop-layout-programmatically#comment-323911">Anderson</a>.</p>
<p>@Anderson:</p>
<pre lang='matlab'>
close(matlab.desktop.editor.findOpenDocument('myMatlabFunction.m'))  % close editor file

close(findall(0, 'type','figure', 'name','My figure'))  % close a specific figure window

jDesktop = com.mathworks.mde.desk.MLDesktop.getInstance;
jDesktop.closeGroup('Figures');  % close the Figures container
</pre>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Anderson		</title>
		<link>https://undocumentedmatlab.com/articles/setting-the-matlab-desktop-layout-programmatically#comment-323911</link>

		<dc:creator><![CDATA[Anderson]]></dc:creator>
		<pubDate>Tue, 29 Apr 2014 19:40:30 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=431#comment-323911</guid>

					<description><![CDATA[Hi,

Is there a command similar to desktop.closeCommandWindow, so that I can close/open editor window and figures window?

Thank you]]></description>
			<content:encoded><![CDATA[<p>Hi,</p>
<p>Is there a command similar to desktop.closeCommandWindow, so that I can close/open editor window and figures window?</p>
<p>Thank you</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/setting-the-matlab-desktop-layout-programmatically#comment-288229</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Thu, 24 Oct 2013 09:35:08 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=431#comment-288229</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/setting-the-matlab-desktop-layout-programmatically#comment-288222&quot;&gt;Sky&lt;/a&gt;.

nice :-)]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/setting-the-matlab-desktop-layout-programmatically#comment-288222">Sky</a>.</p>
<p>nice 🙂</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Sky		</title>
		<link>https://undocumentedmatlab.com/articles/setting-the-matlab-desktop-layout-programmatically#comment-288222</link>

		<dc:creator><![CDATA[Sky]]></dc:creator>
		<pubDate>Thu, 24 Oct 2013 09:23:29 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=431#comment-288222</guid>

					<description><![CDATA[This post inspired me to make a small utility (&lt;a href=&quot;http://www.mathworks.com/matlabcentral/fileexchange/44040-lyt-matlab-desktop-layout-load-or-save&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;now on the File Exchange&lt;/a&gt;) that I personally use very often and find quite useful. Hopefully others will too. Thank you for the post. I&#039;d love to get feedback on the file if you have any for me.]]></description>
			<content:encoded><![CDATA[<p>This post inspired me to make a small utility (<a href="http://www.mathworks.com/matlabcentral/fileexchange/44040-lyt-matlab-desktop-layout-load-or-save" target="_blank" rel="nofollow">now on the File Exchange</a>) that I personally use very often and find quite useful. Hopefully others will too. Thank you for the post. I&#8217;d love to get feedback on the file if you have any for me.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Troykapoika		</title>
		<link>https://undocumentedmatlab.com/articles/setting-the-matlab-desktop-layout-programmatically#comment-36867</link>

		<dc:creator><![CDATA[Troykapoika]]></dc:creator>
		<pubDate>Wed, 16 Mar 2011 08:06:09 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=431#comment-36867</guid>

					<description><![CDATA[I would like to know if there is any way to organize (remove) layouts programmatically?  I have played around with uiinspect looking for the calls to organize and remove layouts, but I haven&#039;t been too successful.  Also, do you know if there is anyway to share layouts between computers and load them into MATLAB without having to restart MATLAB?

Thanks!

Troy]]></description>
			<content:encoded><![CDATA[<p>I would like to know if there is any way to organize (remove) layouts programmatically?  I have played around with uiinspect looking for the calls to organize and remove layouts, but I haven&#8217;t been too successful.  Also, do you know if there is anyway to share layouts between computers and load them into MATLAB without having to restart MATLAB?</p>
<p>Thanks!</p>
<p>Troy</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
