<?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 labels	</title>
	<atom:link href="https://undocumentedmatlab.com/articles/customizing-matlab-labels/feed" rel="self" type="application/rss+xml" />
	<link>https://undocumentedmatlab.com/articles/customizing-matlab-labels?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=customizing-matlab-labels</link>
	<description>Professional Matlab consulting, development and training</description>
	<lastBuildDate>Mon, 09 Nov 2015 14:37:49 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.2</generator>
	<item>
		<title>
		By: Alex		</title>
		<link>https://undocumentedmatlab.com/articles/customizing-matlab-labels#comment-361138</link>

		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Mon, 09 Nov 2015 14:37:49 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=734#comment-361138</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/customizing-matlab-labels#comment-361136&quot;&gt;Alex&lt;/a&gt;.

Okay, thanks for the advice, Yair.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/customizing-matlab-labels#comment-361136">Alex</a>.</p>
<p>Okay, thanks for the advice, Yair.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/customizing-matlab-labels#comment-361137</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Mon, 09 Nov 2015 14:23:56 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=734#comment-361137</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/customizing-matlab-labels#comment-361136&quot;&gt;Alex&lt;/a&gt;.

@Alex - this blog handles advanced topics that are quite often beyond the basics. You obviously need to learn the basics first. You can &lt;a href=&quot;http://www.mathworks.com/discovery/matlab-gui.html&quot; rel=&quot;nofollow&quot;&gt;start here&lt;/a&gt; or &lt;a href=&quot;http://www.mathworks.com/help/releases/R2015b/pdf_doc/matlab/buildgui.pdf&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/customizing-matlab-labels#comment-361136">Alex</a>.</p>
<p>@Alex &#8211; this blog handles advanced topics that are quite often beyond the basics. You obviously need to learn the basics first. You can <a href="http://www.mathworks.com/discovery/matlab-gui.html" rel="nofollow">start here</a> or <a href="http://www.mathworks.com/help/releases/R2015b/pdf_doc/matlab/buildgui.pdf" rel="nofollow">here</a>.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Alex		</title>
		<link>https://undocumentedmatlab.com/articles/customizing-matlab-labels#comment-361136</link>

		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Mon, 09 Nov 2015 14:20:39 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=734#comment-361136</guid>

					<description><![CDATA[My question is probably stupid, but where I should actually place the code, mentioned in article? The GUI.m file has several different functions and I&#039;m not sure what all of them do (except callbacks), because of my small experience with matlab gui (started today).]]></description>
			<content:encoded><![CDATA[<p>My question is probably stupid, but where I should actually place the code, mentioned in article? The GUI.m file has several different functions and I&#8217;m not sure what all of them do (except callbacks), because of my small experience with matlab gui (started today).</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/customizing-matlab-labels#comment-361135</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Mon, 09 Nov 2015 14:14:55 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=734#comment-361135</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/customizing-matlab-labels#comment-361134&quot;&gt;Alex&lt;/a&gt;.

@Alex - closing tags are not necessary in HTML labels used in Matlab (or Java Swing in general). 

The reason that @Maciek doesn&#039;t see the red &quot;label&quot; word is because his component is simply too narrow. When the container is too narrow, HTML simply truncates the extra text. If you increase the component width from 40 pixels to 100 pixels, you will see the entire text nicely.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/customizing-matlab-labels#comment-361134">Alex</a>.</p>
<p>@Alex &#8211; closing tags are not necessary in HTML labels used in Matlab (or Java Swing in general). </p>
<p>The reason that @Maciek doesn&#8217;t see the red &#8220;label&#8221; word is because his component is simply too narrow. When the container is too narrow, HTML simply truncates the extra text. If you increase the component width from 40 pixels to 100 pixels, you will see the entire text nicely.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Alex		</title>
		<link>https://undocumentedmatlab.com/articles/customizing-matlab-labels#comment-361134</link>

		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Mon, 09 Nov 2015 14:06:19 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=734#comment-361134</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/customizing-matlab-labels#comment-360189&quot;&gt;Maciek&lt;/a&gt;.

Because author forgot the closing &#060;/i&#062; tag, obviously.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/customizing-matlab-labels#comment-360189">Maciek</a>.</p>
<p>Because author forgot the closing &lt;/i&gt; tag, obviously.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Maciek		</title>
		<link>https://undocumentedmatlab.com/articles/customizing-matlab-labels#comment-360189</link>

		<dc:creator><![CDATA[Maciek]]></dc:creator>
		<pubDate>Fri, 30 Oct 2015 14:44:10 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=734#comment-360189</guid>

					<description><![CDATA[When i put this code into my m-file and i run my GUI, the only inscription which I can see is &quot;bold&quot;, where I made a mistake ?]]></description>
			<content:encoded><![CDATA[<p>When i put this code into my m-file and i run my GUI, the only inscription which I can see is &#8220;bold&#8221;, where I made a mistake ?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/customizing-matlab-labels#comment-353424</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Tue, 21 Jul 2015 15:46:03 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=734#comment-353424</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/customizing-matlab-labels#comment-353419&quot;&gt;MB&lt;/a&gt;.

@Miguel - simply set your &lt;code&gt;handles.a&lt;/code&gt; button&#039;s &lt;b&gt;String&lt;/b&gt; property value to &lt;code&gt;labelStr&lt;/code&gt;]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/customizing-matlab-labels#comment-353419">MB</a>.</p>
<p>@Miguel &#8211; simply set your <code>handles.a</code> button&#8217;s <b>String</b> property value to <code>labelStr</code></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: MB		</title>
		<link>https://undocumentedmatlab.com/articles/customizing-matlab-labels#comment-353419</link>

		<dc:creator><![CDATA[MB]]></dc:creator>
		<pubDate>Tue, 21 Jul 2015 13:00:56 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=734#comment-353419</guid>

					<description><![CDATA[How can you implement this feature into an uicontrol? I use the GUI Layout Toolbox and this is the code:
&lt;pre lang=&#039;matlab&#039;&gt;
labelStr = &#039;&#8704;&#946; &lt;b&gt;bold&lt;/b&gt; &lt;i&gt;label&#039;;
jLabel = javaObjectEDT(&#039;javax.swing.JLabel&#039;,labelStr);
[hcomponent,hcontainer] = javacomponent(jLabel,[100,100,150,20],gcf);

handles.box{1} = uiextras.HButtonBox;
handles.a = uicontrol(&#039;Parent&#039;, handles.box{1}, &#039;String&#039;, string);
&lt;/pre&gt;

where string is supposed to be the text from [hcomponent,hcontainer]

Thanks.]]></description>
			<content:encoded><![CDATA[<p>How can you implement this feature into an uicontrol? I use the GUI Layout Toolbox and this is the code:</p>
<pre lang='matlab'>
labelStr = '&#8704;&#946; <b>bold</b> <i>label';
jLabel = javaObjectEDT('javax.swing.JLabel',labelStr);
[hcomponent,hcontainer] = javacomponent(jLabel,[100,100,150,20],gcf);

handles.box{1} = uiextras.HButtonBox;
handles.a = uicontrol('Parent', handles.box{1}, 'String', string);
</i></pre>
<p>where string is supposed to be the text from [hcomponent,hcontainer]</p>
<p>Thanks.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/customizing-matlab-labels#comment-170113</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Sun, 10 Mar 2013 00:06:43 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=734#comment-170113</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/customizing-matlab-labels#comment-169353&quot;&gt;Jerry&lt;/a&gt;.

@Jerry - You can link text items to Matlab callbacks in the normal manner, by setting the handle&#039;s callbacks (e.g., &lt;b&gt;ButtonDownFcn&lt;/b&gt;). However, this does not get propagated to PDF output.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/customizing-matlab-labels#comment-169353">Jerry</a>.</p>
<p>@Jerry &#8211; You can link text items to Matlab callbacks in the normal manner, by setting the handle&#8217;s callbacks (e.g., <b>ButtonDownFcn</b>). However, this does not get propagated to PDF output.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Jerry		</title>
		<link>https://undocumentedmatlab.com/articles/customizing-matlab-labels#comment-169353</link>

		<dc:creator><![CDATA[Jerry]]></dc:creator>
		<pubDate>Fri, 08 Mar 2013 17:16:36 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=734#comment-169353</guid>

					<description><![CDATA[I have little or no expereience with Java, but lots with MATLAB in general.  When generating analysis reports, it&#039;s common for me to have a text box or annotation box on a plot in a figure window.  I would like to insert a hyperlink in the text box (the link would lead to the the test plan responsible for generating the data in the plot).  When the figure with the plot and annotation is generated, it is typically printed to a PDF so that those who might be reading the report only need adobe and not a license of MATLAB.

So, 
1) how is a hyperlink inserted into an annotation box on a figure? ...
2) ... such that when it is printed (or saved) to PDF, the link is still a valid hyperlink in the PDF?
Thanks]]></description>
			<content:encoded><![CDATA[<p>I have little or no expereience with Java, but lots with MATLAB in general.  When generating analysis reports, it&#8217;s common for me to have a text box or annotation box on a plot in a figure window.  I would like to insert a hyperlink in the text box (the link would lead to the the test plan responsible for generating the data in the plot).  When the figure with the plot and annotation is generated, it is typically printed to a PDF so that those who might be reading the report only need adobe and not a license of MATLAB.</p>
<p>So,<br />
1) how is a hyperlink inserted into an annotation box on a figure? &#8230;<br />
2) &#8230; such that when it is printed (or saved) to PDF, the link is still a valid hyperlink in the PDF?<br />
Thanks</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
