<?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 uifigures part 1	</title>
	<atom:link href="https://undocumentedmatlab.com/articles/customizing-uifigures-part-1/feed" rel="self" type="application/rss+xml" />
	<link>https://undocumentedmatlab.com/articles/customizing-uifigures-part-1?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=customizing-uifigures-part-1</link>
	<description>Professional Matlab consulting, development and training</description>
	<lastBuildDate>Fri, 23 May 2025 15:23:08 +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-uifigures-part-1#comment-526736</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Fri, 23 May 2025 15:23:08 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=6554#comment-526736</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/customizing-uifigures-part-1#comment-526631&quot;&gt;SylvanoMTL&lt;/a&gt;.

@SylvanoMTL - try to set the uifigure&#039;s position to (-1000,-1000,100,100) - this will hide the figure, although the user will still see something in the Desktop taskbar.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/customizing-uifigures-part-1#comment-526631">SylvanoMTL</a>.</p>
<p>@SylvanoMTL &#8211; try to set the uifigure&#8217;s position to (-1000,-1000,100,100) &#8211; this will hide the figure, although the user will still see something in the Desktop taskbar.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: SylvanoMTL		</title>
		<link>https://undocumentedmatlab.com/articles/customizing-uifigures-part-1#comment-526631</link>

		<dc:creator><![CDATA[SylvanoMTL]]></dc:creator>
		<pubDate>Wed, 07 May 2025 19:55:40 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=6554#comment-526631</guid>

					<description><![CDATA[Thanks for this post, I am using the uialert which is a real pain as it always need a uifigure. The uifigure is relatively hugly and the uialert can be closed by closing the figure. There is no way to set the uifigure Visibility to &quot;off&quot; as it hides the uialert. 
Resizing the uifigure to the uialert size manually is doable but painful. Especially the title bar is still visible. 
Any way to work around this?]]></description>
			<content:encoded><![CDATA[<p>Thanks for this post, I am using the uialert which is a real pain as it always need a uifigure. The uifigure is relatively hugly and the uialert can be closed by closing the figure. There is no way to set the uifigure Visibility to &#8220;off&#8221; as it hides the uialert.<br />
Resizing the uifigure to the uialert size manually is doable but painful. Especially the title bar is still visible.<br />
Any way to work around this?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Eric Delgado		</title>
		<link>https://undocumentedmatlab.com/articles/customizing-uifigures-part-1#comment-521931</link>

		<dc:creator><![CDATA[Eric Delgado]]></dc:creator>
		<pubDate>Mon, 19 Jun 2023 12:22:15 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=6554#comment-521931</guid>

					<description><![CDATA[Hey Yair, I think your site is the right place to share that I wrote ccTools, a lib that allows a lot of customizations of Matlab built-in web components (such as uifigure, uitable, uibutton and so on). It works at least from R2021b.
&lt;a href=&quot;https://www.mathworks.com/matlabcentral/fileexchange/131274-cctools&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;https://www.mathworks.com/matlabcentral/fileexchange/131274-cctools&lt;/a&gt;]]></description>
			<content:encoded><![CDATA[<p>Hey Yair, I think your site is the right place to share that I wrote ccTools, a lib that allows a lot of customizations of Matlab built-in web components (such as uifigure, uitable, uibutton and so on). It works at least from R2021b.<br />
<a href="https://www.mathworks.com/matlabcentral/fileexchange/131274-cctools" rel="nofollow" target="_blank">https://www.mathworks.com/matlabcentral/fileexchange/131274-cctools</a></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Eric		</title>
		<link>https://undocumentedmatlab.com/articles/customizing-uifigures-part-1#comment-521619</link>

		<dc:creator><![CDATA[Eric]]></dc:creator>
		<pubDate>Fri, 19 May 2023 02:32:27 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=6554#comment-521619</guid>

					<description><![CDATA[Hey @Kevin, can you share your code about create group of figures in the AppContainer? The container of multiples uifigures could be an amazing improvement over AppDesigner and its only uifigure, opening a lot of possibilities...]]></description>
			<content:encoded><![CDATA[<p>Hey @Kevin, can you share your code about create group of figures in the AppContainer? The container of multiples uifigures could be an amazing improvement over AppDesigner and its only uifigure, opening a lot of possibilities&#8230;</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: KEVIN		</title>
		<link>https://undocumentedmatlab.com/articles/customizing-uifigures-part-1#comment-515735</link>

		<dc:creator><![CDATA[KEVIN]]></dc:creator>
		<pubDate>Wed, 16 Nov 2022 14:35:47 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=6554#comment-515735</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/customizing-uifigures-part-1#comment-515733&quot;&gt;Yair Altman&lt;/a&gt;.

I apologize,  I intended my response to fall under &#039;T&#039; but did not seem to work. 

I was referring to the bit of code posted by &#039;T&#039; regarding the toolgroup and appcontainer. If I run that snippet of code they posted in R2019b, the figure generated is all wrong, but works fine in R2020b. I have the deep learning toolbox and their Deep Network Designer tool (which looks fine in R2019b and R2020b) very much appears to be built on an AppContainer type framework , however when drilling through the source code there&#039;s not much to go on, and it&#039;s not even like they p-coded or encrypted it. It seems like maybe it&#039;s javascript based, but even searching through that bit of code I can&#039;t find terms that match buttons in the TabGroup. I was more or less just looking for examples on how to build out the appcontainer into a more formidable GUI, was at least able to figure out how to add Figures to panels and tabbed figures, probably sufficient for moving forward. R2019b would be a nice to have but maybe too much of a leap in versions for these features.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/customizing-uifigures-part-1#comment-515733">Yair Altman</a>.</p>
<p>I apologize,  I intended my response to fall under &#8216;T&#8217; but did not seem to work. </p>
<p>I was referring to the bit of code posted by &#8216;T&#8217; regarding the toolgroup and appcontainer. If I run that snippet of code they posted in R2019b, the figure generated is all wrong, but works fine in R2020b. I have the deep learning toolbox and their Deep Network Designer tool (which looks fine in R2019b and R2020b) very much appears to be built on an AppContainer type framework , however when drilling through the source code there&#8217;s not much to go on, and it&#8217;s not even like they p-coded or encrypted it. It seems like maybe it&#8217;s javascript based, but even searching through that bit of code I can&#8217;t find terms that match buttons in the TabGroup. I was more or less just looking for examples on how to build out the appcontainer into a more formidable GUI, was at least able to figure out how to add Figures to panels and tabbed figures, probably sufficient for moving forward. R2019b would be a nice to have but maybe too much of a leap in versions for these features.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/customizing-uifigures-part-1#comment-515733</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Wed, 16 Nov 2022 14:09:06 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=6554#comment-515733</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/customizing-uifigures-part-1#comment-515702&quot;&gt;Kevin&lt;/a&gt;.

It is not clear from your comment which code exactly you are referring to and what you see differently in 19b vs. 20b, so I cannot assist with your specific query. 
In general I can say that it is not surprising that undocumented things that work in one Matlab release don&#039;t work exactly the same way on a different release.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/customizing-uifigures-part-1#comment-515702">Kevin</a>.</p>
<p>It is not clear from your comment which code exactly you are referring to and what you see differently in 19b vs. 20b, so I cannot assist with your specific query.<br />
In general I can say that it is not surprising that undocumented things that work in one Matlab release don&#8217;t work exactly the same way on a different release.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Kevin		</title>
		<link>https://undocumentedmatlab.com/articles/customizing-uifigures-part-1#comment-515702</link>

		<dc:creator><![CDATA[Kevin]]></dc:creator>
		<pubDate>Tue, 15 Nov 2022 12:44:39 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=6554#comment-515702</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/customizing-uifigures-part-1#comment-515455&quot;&gt;T&lt;/a&gt;.

Any ideas on why this bit of code looks fine in say R2020b but produces an incorrect image in R2019b? I&#039;m not seeing any error printouts that suggest it&#039;s unhappy with the inputs.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/customizing-uifigures-part-1#comment-515455">T</a>.</p>
<p>Any ideas on why this bit of code looks fine in say R2020b but produces an incorrect image in R2019b? I&#8217;m not seeing any error printouts that suggest it&#8217;s unhappy with the inputs.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: T		</title>
		<link>https://undocumentedmatlab.com/articles/customizing-uifigures-part-1#comment-515455</link>

		<dc:creator><![CDATA[T]]></dc:creator>
		<pubDate>Fri, 21 Oct 2022 14:33:19 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=6554#comment-515455</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/customizing-uifigures-part-1#comment-515435&quot;&gt;Paul&lt;/a&gt;.

Mathworks has indeed been migrating its Java-based apps (like the PIDtuner, as you mentioned) to html-based ones (uifigures) so that they can be used in Matlab online. If you drill a bit into the code of any of these apps you will find that they are using an &lt;b&gt;AppContainer&lt;/b&gt; object which already has a toolstrip (empty) attached. Toolstrip elements have the same syntax as the ones used in Java apps:

&lt;pre lang=&quot;matlab&quot;&gt;
% Create the app
app = matlab.ui.container.internal.AppContainer();

% Create a tabgroup with a tab
tabGroup = matlab.ui.internal.toolstrip.TabGroup();
tab = matlab.ui.internal.toolstrip.Tab();
tabGroup.Tag = &#039;myTabGroup&#039;;
tab.Tag = &#039;myTab&#039;;
tab.Title = &#039;Tab#1&#039;;

% Add tab to group and group to app
tabGroup.add(tab);
app.addTabGroup(tabGroup);

% Make app visible
app.Visible = true;
&lt;/pre&gt;

I&#039;d 100% recommend you to work with this AppContainer, since it offers more possibilities than the normal Java-based one. Besides the toolstrip (same syntax as for Java, so Yairs 9 posts on it should still be relevant), you can insert uifigures as draggable panels to the left/right/bottom of the app (way better than the java-based DataBrowser) and control the layout of the app grid. Plus, you can use custom html/javascript objects (using the &lt;i&gt;uihtml&lt;/i&gt; component) inside the app which in my view are easier to code and customize.

Only downside is that everything is undocumented and you&#039;d need to investigate a lot on the AppContainer API. I have already looked my fair bit into it, so I could probably help]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/customizing-uifigures-part-1#comment-515435">Paul</a>.</p>
<p>Mathworks has indeed been migrating its Java-based apps (like the PIDtuner, as you mentioned) to html-based ones (uifigures) so that they can be used in Matlab online. If you drill a bit into the code of any of these apps you will find that they are using an <b>AppContainer</b> object which already has a toolstrip (empty) attached. Toolstrip elements have the same syntax as the ones used in Java apps:</p>
<pre lang="matlab">
% Create the app
app = matlab.ui.container.internal.AppContainer();

% Create a tabgroup with a tab
tabGroup = matlab.ui.internal.toolstrip.TabGroup();
tab = matlab.ui.internal.toolstrip.Tab();
tabGroup.Tag = 'myTabGroup';
tab.Tag = 'myTab';
tab.Title = 'Tab#1';

% Add tab to group and group to app
tabGroup.add(tab);
app.addTabGroup(tabGroup);

% Make app visible
app.Visible = true;
</pre>
<p>I&#8217;d 100% recommend you to work with this AppContainer, since it offers more possibilities than the normal Java-based one. Besides the toolstrip (same syntax as for Java, so Yairs 9 posts on it should still be relevant), you can insert uifigures as draggable panels to the left/right/bottom of the app (way better than the java-based DataBrowser) and control the layout of the app grid. Plus, you can use custom html/javascript objects (using the <i>uihtml</i> component) inside the app which in my view are easier to code and customize.</p>
<p>Only downside is that everything is undocumented and you&#8217;d need to investigate a lot on the AppContainer API. I have already looked my fair bit into it, so I could probably help</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/customizing-uifigures-part-1#comment-515438</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Wed, 19 Oct 2022 21:22:49 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=6554#comment-515438</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/customizing-uifigures-part-1#comment-515435&quot;&gt;Paul&lt;/a&gt;.

@Paul - There must be a way to use a toolstrip in uifigures, because many Matlab apps use uifigures with a toolstrip. But I have not [yet] discovered how to add a toolstrip to uifigures - only to Java-based windows (tool-group and regular figures).]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/customizing-uifigures-part-1#comment-515435">Paul</a>.</p>
<p>@Paul &#8211; There must be a way to use a toolstrip in uifigures, because many Matlab apps use uifigures with a toolstrip. But I have not [yet] discovered how to add a toolstrip to uifigures &#8211; only to Java-based windows (tool-group and regular figures).</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Paul		</title>
		<link>https://undocumentedmatlab.com/articles/customizing-uifigures-part-1#comment-515435</link>

		<dc:creator><![CDATA[Paul]]></dc:creator>
		<pubDate>Wed, 19 Oct 2022 16:00:44 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=6554#comment-515435</guid>

					<description><![CDATA[Is there a way to intergrade the toolstrip or toolgroup  (java based) to the uifigure? I am trying to figure out if I should go for the undocumented toolgroup or App Designer. App Designer seems to be improved a lot and the editor is nice, but I also like the look of toolstrip. I feel that these two should be able to co-exist. We are able to use all the toolgroup app (PIDTuner etc...) on matlab-online so I assume there is a way to render the java based app to web-based(?). 

thanks]]></description>
			<content:encoded><![CDATA[<p>Is there a way to intergrade the toolstrip or toolgroup  (java based) to the uifigure? I am trying to figure out if I should go for the undocumented toolgroup or App Designer. App Designer seems to be improved a lot and the editor is nice, but I also like the look of toolstrip. I feel that these two should be able to co-exist. We are able to use all the toolgroup app (PIDTuner etc&#8230;) on matlab-online so I assume there is a way to render the java based app to web-based(?). </p>
<p>thanks</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
