<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: Printing hyperlinks to the Command Window</title>
	<link>http://blogs.mathworks.com/desktop/2007/07/09/printing-hyperlinks-to-the-command-window/</link>
	<description>Ken &#38; Mike work on the MATLAB Desktop team</description>
	<pubDate>Sun, 22 Nov 2009 23:40:41 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.1</generator>
		<item>
		<title>By: Mike</title>
		<link>http://blogs.mathworks.com/desktop/2007/07/09/printing-hyperlinks-to-the-command-window/#comment-6648</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Wed, 04 Nov 2009 12:52:57 +0000</pubDate>
		<guid>http://blogs.mathworks.com/desktop/2007/07/09/printing-hyperlinks-to-the-command-window/#comment-6648</guid>
		<description>Thanks for fielding that one, Yair.</description>
		<content:encoded><![CDATA[<p>Thanks for fielding that one, Yair.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yair Altman</title>
		<link>http://blogs.mathworks.com/desktop/2007/07/09/printing-hyperlinks-to-the-command-window/#comment-6647</link>
		<dc:creator>Yair Altman</dc:creator>
		<pubDate>Tue, 03 Nov 2009 23:08:57 +0000</pubDate>
		<guid>http://blogs.mathworks.com/desktop/2007/07/09/printing-hyperlinks-to-the-command-window/#comment-6647</guid>
		<description>Jimmy - if you mean that you wish to include hyperlinks in your function's help comment, that will display asa hyperlink in the Command Window when you type "help myfunc", then yes - simply include the hyperlink in your help comment, like so:

function result = myfunc(varargin)
% MYFUNC - this function does A B C ...
%
% See also: &#60;a href="http://www.mathworks.com/matlabcentral/fileexchange/authors/27420"&#62;MathWorks File Exchange&#60;/a&#62;
%

Yair</description>
		<content:encoded><![CDATA[<p>Jimmy - if you mean that you wish to include hyperlinks in your function&#8217;s help comment, that will display asa hyperlink in the Command Window when you type &#8220;help myfunc&#8221;, then yes - simply include the hyperlink in your help comment, like so:</p>
<p>function result = myfunc(varargin)<br />
% MYFUNC - this function does A B C &#8230;<br />
%<br />
% See also: &lt;a href=&#8221;http://www.mathworks.com/matlabcentral/fileexchange/authors/27420&#8243;&gt;MathWorks File Exchange&lt;/a&gt;<br />
%</p>
<p>Yair</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jimmy</title>
		<link>http://blogs.mathworks.com/desktop/2007/07/09/printing-hyperlinks-to-the-command-window/#comment-6645</link>
		<dc:creator>Jimmy</dc:creator>
		<pubDate>Tue, 03 Nov 2009 20:41:11 +0000</pubDate>
		<guid>http://blogs.mathworks.com/desktop/2007/07/09/printing-hyperlinks-to-the-command-window/#comment-6645</guid>
		<description>Is there any way to include hyperlinks in a comment, such as the standard help at the beginning of a function?</description>
		<content:encoded><![CDATA[<p>Is there any way to include hyperlinks in a comment, such as the standard help at the beginning of a function?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://blogs.mathworks.com/desktop/2007/07/09/printing-hyperlinks-to-the-command-window/#comment-6059</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Mon, 19 Jan 2009 00:58:33 +0000</pubDate>
		<guid>http://blogs.mathworks.com/desktop/2007/07/09/printing-hyperlinks-to-the-command-window/#comment-6059</guid>
		<description>Rick,

 Thank you for the suggestion. If you have a specific use case in mind, feel free to email us with the details. 

Mike</description>
		<content:encoded><![CDATA[<p>Rick,</p>
<p> Thank you for the suggestion. If you have a specific use case in mind, feel free to email us with the details. </p>
<p>Mike</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rick Candell</title>
		<link>http://blogs.mathworks.com/desktop/2007/07/09/printing-hyperlinks-to-the-command-window/#comment-6036</link>
		<dc:creator>Rick Candell</dc:creator>
		<pubDate>Thu, 01 Jan 2009 04:19:43 +0000</pubDate>
		<guid>http://blogs.mathworks.com/desktop/2007/07/09/printing-hyperlinks-to-the-command-window/#comment-6036</guid>
		<description>It is very desirable to be able to print colored text to the command window.  Why has this feature not yet been implemented?  It would also be nice in a matlab notebook, but I found the notebook to be very flakey.  I would prefer to have color text in the command window.</description>
		<content:encoded><![CDATA[<p>It is very desirable to be able to print colored text to the command window.  Why has this feature not yet been implemented?  It would also be nice in a matlab notebook, but I found the notebook to be very flakey.  I would prefer to have color text in the command window.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://blogs.mathworks.com/desktop/2007/07/09/printing-hyperlinks-to-the-command-window/#comment-5935</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Tue, 21 Oct 2008 17:00:44 +0000</pubDate>
		<guid>http://blogs.mathworks.com/desktop/2007/07/09/printing-hyperlinks-to-the-command-window/#comment-5935</guid>
		<description>Yuri,

 It is not possible to change the text color in the Command Window. You can get errors or hyperlinks (whose color is settable in the preferences) but these have additional semantics that are not desirable for other uses.</description>
		<content:encoded><![CDATA[<p>Yuri,</p>
<p> It is not possible to change the text color in the Command Window. You can get errors or hyperlinks (whose color is settable in the preferences) but these have additional semantics that are not desirable for other uses.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yuri</title>
		<link>http://blogs.mathworks.com/desktop/2007/07/09/printing-hyperlinks-to-the-command-window/#comment-5934</link>
		<dc:creator>Yuri</dc:creator>
		<pubDate>Tue, 21 Oct 2008 14:15:41 +0000</pubDate>
		<guid>http://blogs.mathworks.com/desktop/2007/07/09/printing-hyperlinks-to-the-command-window/#comment-5934</guid>
		<description>Tim, Kristin,

Isn't there another way to change the text color in the command window?

Obviously, Tim's solution is not powerful.

Yuri</description>
		<content:encoded><![CDATA[<p>Tim, Kristin,</p>
<p>Isn&#8217;t there another way to change the text color in the command window?</p>
<p>Obviously, Tim&#8217;s solution is not powerful.</p>
<p>Yuri</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim Davis</title>
		<link>http://blogs.mathworks.com/desktop/2007/07/09/printing-hyperlinks-to-the-command-window/#comment-138</link>
		<dc:creator>Tim Davis</dc:creator>
		<pubDate>Thu, 23 Aug 2007 16:20:16 +0000</pubDate>
		<guid>http://blogs.mathworks.com/desktop/2007/07/09/printing-hyperlinks-to-the-command-window/#comment-138</guid>
		<description>I was just printing values, and needed a do-nothing link, then "matlab:why" is the coolest do-nothing function out there :-)</description>
		<content:encoded><![CDATA[<p>I was just printing values, and needed a do-nothing link, then &#8220;matlab:why&#8221; is the coolest do-nothing function out there :-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kristin</title>
		<link>http://blogs.mathworks.com/desktop/2007/07/09/printing-hyperlinks-to-the-command-window/#comment-137</link>
		<dc:creator>Kristin</dc:creator>
		<pubDate>Thu, 23 Aug 2007 12:25:23 +0000</pubDate>
		<guid>http://blogs.mathworks.com/desktop/2007/07/09/printing-hyperlinks-to-the-command-window/#comment-137</guid>
		<description>Hey Tim,

In your example above, you could link the variables to disp the values, then if you click on them you are at least getting useful info.

x = rand (10,1) ;
for k = 1:10
&#160;&#160;if (x (k) %lt; .5)
&#160;&#160;&#160;&#160;fprintf ('%8.5f\n', x (k)) ;
&#160;&#160;else
&#160;&#160;&#160;&#160;fprintf ('&#60;a href="matlab: disp %s"&#62;%8.5f&#60;/a&#62;\n', x (k), x(k)) ;
&#160;&#160;end
end

Obviously, this would work better if you were printing something other than the values.</description>
		<content:encoded><![CDATA[<p>Hey Tim,</p>
<p>In your example above, you could link the variables to disp the values, then if you click on them you are at least getting useful info.</p>
<p>x = rand (10,1) ;<br />
for k = 1:10<br />
&nbsp;&nbsp;if (x (k) %lt; .5)<br />
&nbsp;&nbsp;&nbsp;&nbsp;fprintf (&#8217;%8.5f\n&#8217;, x (k)) ;<br />
&nbsp;&nbsp;else<br />
&nbsp;&nbsp;&nbsp;&nbsp;fprintf (&#8217;&lt;a href=&#8221;matlab: disp %s&#8221;&gt;%8.5f&lt;/a&gt;\n&#8217;, x (k), x(k)) ;<br />
&nbsp;&nbsp;end<br />
end</p>
<p>Obviously, this would work better if you were printing something other than the values.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim Davis</title>
		<link>http://blogs.mathworks.com/desktop/2007/07/09/printing-hyperlinks-to-the-command-window/#comment-136</link>
		<dc:creator>Tim Davis</dc:creator>
		<pubDate>Thu, 23 Aug 2007 12:23:43 +0000</pubDate>
		<guid>http://blogs.mathworks.com/desktop/2007/07/09/printing-hyperlinks-to-the-command-window/#comment-136</guid>
		<description>Note that HREF= is recognized by regular web browsers (Internet Explorer, Firefox, and even the MATLAB built-in "web"), so changing href= to HREF= disables only the hypertext link in the MATLAB Command Window, but leaves it as a valid link everywhere else.</description>
		<content:encoded><![CDATA[<p>Note that HREF= is recognized by regular web browsers (Internet Explorer, Firefox, and even the MATLAB built-in &#8220;web&#8221;), so changing href= to HREF= disables only the hypertext link in the MATLAB Command Window, but leaves it as a valid link everywhere else.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
