<?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: HG2 update	</title>
	<atom:link href="https://undocumentedmatlab.com/articles/hg2-update/feed" rel="self" type="application/rss+xml" />
	<link>https://undocumentedmatlab.com/articles/hg2-update?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=hg2-update</link>
	<description>Professional Matlab consulting, development and training</description>
	<lastBuildDate>Wed, 13 Dec 2017 07:39:26 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.2</generator>
	<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/hg2-update#comment-417498</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Wed, 13 Dec 2017 07:39:26 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=3789#comment-417498</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/hg2-update#comment-417495&quot;&gt;sipsj11&lt;/a&gt;.

@sipsj11 - you are very mistaken: first, the method of setting the figure&#039;s position to &lt;code&gt;[0 0 1 1]&lt;/code&gt; has existed forever, not just since HG2. 

Secondly, this method is &lt;b&gt;NOT&lt;/b&gt; equivalent to true maximization of the window, which is achieved by clicking the relevant icon on the top-right of the figure. For example, it ignores (overlaps) the taskbar and also shows the window borders, which a truly-maximized figure doesn&#039;t.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/hg2-update#comment-417495">sipsj11</a>.</p>
<p>@sipsj11 &#8211; you are very mistaken: first, the method of setting the figure&#8217;s position to <code>[0 0 1 1]</code> has existed forever, not just since HG2. </p>
<p>Secondly, this method is <b>NOT</b> equivalent to true maximization of the window, which is achieved by clicking the relevant icon on the top-right of the figure. For example, it ignores (overlaps) the taskbar and also shows the window borders, which a truly-maximized figure doesn&#8217;t.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: sipsj11		</title>
		<link>https://undocumentedmatlab.com/articles/hg2-update#comment-417495</link>

		<dc:creator><![CDATA[sipsj11]]></dc:creator>
		<pubDate>Wed, 13 Dec 2017 06:01:08 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=3789#comment-417495</guid>

					<description><![CDATA[Doesn&#039;t need to be so complicated, in the new version of MATLAB can set the figure to full size easily by:
&lt;pre lang=&quot;matlab&quot;&gt;
fig=gcf;
fig.Units=&#039;normalized&#039;;
fig.OuterPosition=[0 0 1 1];
&lt;/pre&gt;]]></description>
			<content:encoded><![CDATA[<p>Doesn&#8217;t need to be so complicated, in the new version of MATLAB can set the figure to full size easily by:</p>
<pre lang="matlab">
fig=gcf;
fig.Units='normalized';
fig.OuterPosition=[0 0 1 1];
</pre>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/hg2-update#comment-395798</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Sun, 11 Dec 2016 10:11:31 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=3789#comment-395798</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/hg2-update#comment-395720&quot;&gt;Michele&lt;/a&gt;.

@Michele - &lt;i&gt;&lt;b&gt;uisplitpane&lt;/b&gt;&lt;/i&gt; is available on Matlab File Exchange: the https://www.mathworks.com/matlabcentral/fileexchange/23073-uisplitpane-split-a-container-into-two-resizable-sub-containers

Also consider using the &lt;a href=&quot;https://www.mathworks.com/matlabcentral/fileexchange/47982-gui-layout-toolbox&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;GUI Layout Toolbox&lt;/a&gt; that contains similar functionality]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/hg2-update#comment-395720">Michele</a>.</p>
<p>@Michele &#8211; <i><b>uisplitpane</b></i> is available on Matlab File Exchange: the <a href="https://www.mathworks.com/matlabcentral/fileexchange/23073-uisplitpane-split-a-container-into-two-resizable-sub-containers" rel="nofollow ugc">https://www.mathworks.com/matlabcentral/fileexchange/23073-uisplitpane-split-a-container-into-two-resizable-sub-containers</a></p>
<p>Also consider using the <a href="https://www.mathworks.com/matlabcentral/fileexchange/47982-gui-layout-toolbox" target="_blank" rel="nofollow">GUI Layout Toolbox</a> that contains similar functionality</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Michele		</title>
		<link>https://undocumentedmatlab.com/articles/hg2-update#comment-395720</link>

		<dc:creator><![CDATA[Michele]]></dc:creator>
		<pubDate>Sat, 10 Dec 2016 18:34:10 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=3789#comment-395720</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/hg2-update#comment-321181&quot;&gt;Eike B.&lt;/a&gt;.

Hi,

Where Could I find the updated code of uisplitpane.m? 

Thanks]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/hg2-update#comment-321181">Eike B.</a>.</p>
<p>Hi,</p>
<p>Where Could I find the updated code of uisplitpane.m? </p>
<p>Thanks</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Lo que he aprendido: especificar opciones de inicio en Matlab &#124; Onda Hostil		</title>
		<link>https://undocumentedmatlab.com/articles/hg2-update#comment-377397</link>

		<dc:creator><![CDATA[Lo que he aprendido: especificar opciones de inicio en Matlab &#124; Onda Hostil]]></dc:creator>
		<pubDate>Fri, 20 May 2016 13:19:00 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=3789#comment-377397</guid>

					<description><![CDATA[[&#8230;] Undocumented Matlab: HG2 update [&#8230;]]]></description>
			<content:encoded><![CDATA[<p>[&#8230;] Undocumented Matlab: HG2 update [&#8230;]</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/hg2-update#comment-361836</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Tue, 17 Nov 2015 18:42:45 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=3789#comment-361836</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/hg2-update#comment-361835&quot;&gt;Aaron Kahn&lt;/a&gt;.

@Aaron - firstly, &lt;a href=&quot;http://undocumentedmatlab.com/blog/button-customization&quot; rel=&quot;nofollow&quot;&gt;Matlab buttons &lt;b&gt;do&lt;/b&gt; support HTML&lt;/a&gt;, just as do &lt;a href=&quot;http://undocumentedmatlab.com/blog/html-support-in-matlab-uicomponents&quot; rel=&quot;nofollow&quot;&gt;all other uicontrols&lt;/a&gt;, &lt;a href=&quot;http://undocumentedmatlab.com/blog/customizing-matlab-labels&quot; rel=&quot;nofollow&quot;&gt;except text labels&lt;/a&gt;.

Secondly, you could always &lt;a href=&quot;http://undocumentedmatlab.com/blog/uicontrol-callbacks&quot; rel=&quot;nofollow&quot;&gt;attach a &lt;b&gt;MouseClickedCallback&lt;/b&gt; function&lt;/a&gt; to your &lt;code&gt;JLabel&lt;/code&gt;.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/hg2-update#comment-361835">Aaron Kahn</a>.</p>
<p>@Aaron &#8211; firstly, <a href="http://undocumentedmatlab.com/blog/button-customization" rel="nofollow">Matlab buttons <b>do</b> support HTML</a>, just as do <a href="http://undocumentedmatlab.com/blog/html-support-in-matlab-uicomponents" rel="nofollow">all other uicontrols</a>, <a href="http://undocumentedmatlab.com/blog/customizing-matlab-labels" rel="nofollow">except text labels</a>.</p>
<p>Secondly, you could always <a href="http://undocumentedmatlab.com/blog/uicontrol-callbacks" rel="nofollow">attach a <b>MouseClickedCallback</b> function</a> to your <code>JLabel</code>.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Aaron Kahn		</title>
		<link>https://undocumentedmatlab.com/articles/hg2-update#comment-361835</link>

		<dc:creator><![CDATA[Aaron Kahn]]></dc:creator>
		<pubDate>Tue, 17 Nov 2015 18:33:57 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=3789#comment-361835</guid>

					<description><![CDATA[Hi Yair,

I am a first time poster but I truly love your site and it has helped me solve many a problem.
I am running R2014a. I&#039;ve created a GUI that allows the user to select from several languages. In order to support Spanish, for example, I needed to use Latin characters supported by html. As you know, the push button string property does not support html, so I created a &lt;code&gt;JLabel&lt;/code&gt; to fit over the button to allow html strings. 

The problem is, using HG1 I am still able to click anywhere on the button for its functionality, while in HG2 the portion of the button covered by the jLabel is not &#039;clickable&#039;.

Do you know why there is a difference? And do you know a possible work around for this or a different method?

Thanks]]></description>
			<content:encoded><![CDATA[<p>Hi Yair,</p>
<p>I am a first time poster but I truly love your site and it has helped me solve many a problem.<br />
I am running R2014a. I&#8217;ve created a GUI that allows the user to select from several languages. In order to support Spanish, for example, I needed to use Latin characters supported by html. As you know, the push button string property does not support html, so I created a <code>JLabel</code> to fit over the button to allow html strings. </p>
<p>The problem is, using HG1 I am still able to click anywhere on the button for its functionality, while in HG2 the portion of the button covered by the jLabel is not &#8216;clickable&#8217;.</p>
<p>Do you know why there is a difference? And do you know a possible work around for this or a different method?</p>
<p>Thanks</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Matlab R2014b and newer: freezeColors no longer needed &#124; SciVision		</title>
		<link>https://undocumentedmatlab.com/articles/hg2-update#comment-350924</link>

		<dc:creator><![CDATA[Matlab R2014b and newer: freezeColors no longer needed &#124; SciVision]]></dc:creator>
		<pubDate>Tue, 09 Jun 2015 02:04:00 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=3789#comment-350924</guid>

					<description><![CDATA[[...] have not tried this on older versions of Matlab with [...]]]></description>
			<content:encoded><![CDATA[<p>[&#8230;] have not tried this on older versions of Matlab with [&#8230;]</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/hg2-update#comment-350528</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Wed, 03 Jun 2015 21:47:09 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=3789#comment-350528</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/hg2-update#comment-350527&quot;&gt;Siddharth Dani&lt;/a&gt;.

&lt;code&gt;graphicsversion(fig, &#039;handlegraphics&#039;)==false&lt;/code&gt; does indeed indicate that HG2 is in use. I&#039;m not sure why it would fall back to using HG1 on your computer. Try creating a new figure with a very simple plot and see whether it still happens. Then contact MathWorks support to ask for their assistance.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/hg2-update#comment-350527">Siddharth Dani</a>.</p>
<p><code>graphicsversion(fig, 'handlegraphics')==false</code> does indeed indicate that HG2 is in use. I&#8217;m not sure why it would fall back to using HG1 on your computer. Try creating a new figure with a very simple plot and see whether it still happens. Then contact MathWorks support to ask for their assistance.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Siddharth Dani		</title>
		<link>https://undocumentedmatlab.com/articles/hg2-update#comment-350527</link>

		<dc:creator><![CDATA[Siddharth Dani]]></dc:creator>
		<pubDate>Wed, 03 Jun 2015 21:40:46 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=3789#comment-350527</guid>

					<description><![CDATA[Hi Yair, 

I have run into a seemingly peculiar situation with HG2 with an intern I am mentoring. He is running MATLAB 2014b that was installed in January 2014 on a windows 7 OS. 
Running: &lt;pre lang=&quot;matlab&quot;&gt; graphicsversion(fig, &#039;handlegraphics&#039;);  &lt;/pre&gt; 

returns a &quot;0&quot; which I thought should indicate that HG2 is in fact running, but the figures and plots he is creating look like they are using the old graphics engine. I am not sure if I can post a screenshot in the comments, but the colors and the graphics definitely look like the old version. We tried creating plots on other computers in our team (both windows and macs), that had installed the same version of MATLAB from the same ISO file, and they all seem to have HG2 running properly. 

Is there something trivial we are missing?

Thanks! 

Sid]]></description>
			<content:encoded><![CDATA[<p>Hi Yair, </p>
<p>I have run into a seemingly peculiar situation with HG2 with an intern I am mentoring. He is running MATLAB 2014b that was installed in January 2014 on a windows 7 OS.<br />
Running: </p>
<pre lang="matlab"> graphicsversion(fig, 'handlegraphics');  </pre>
<p>returns a &#8220;0&#8221; which I thought should indicate that HG2 is in fact running, but the figures and plots he is creating look like they are using the old graphics engine. I am not sure if I can post a screenshot in the comments, but the colors and the graphics definitely look like the old version. We tried creating plots on other computers in our team (both windows and macs), that had installed the same version of MATLAB from the same ISO file, and they all seem to have HG2 running properly. </p>
<p>Is there something trivial we are missing?</p>
<p>Thanks! </p>
<p>Sid</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
