Comments on: Bold color text in the Command Window https://undocumentedmatlab.com/blog_old/bold-color-text-in-the-command-window Charting Matlab's unsupported hidden underbelly Wed, 06 Jan 2021 11:01:17 +0000 hourly 1 https://wordpress.org/?v=4.4.1 By: Khaledhttps://undocumentedmatlab.com/blog_old/bold-color-text-in-the-command-window#comment-506138 Wed, 30 Oct 2019 20:04:36 +0000 https://undocumentedmatlab.com/?p=3052#comment-506138 Hello,
I found out how Matlab displays bold hyperlinks. It does so by adding an inline style (style=”font-weight:bold”) inside the <a> tag. For example:

fprintf('\n\t<a href="matlab:doc sin" style="font-weight:bold" rel="nofollow">sin</a>\n\n');
]]>
By: Another Command Window text color hack | Undocumented Matlabhttps://undocumentedmatlab.com/blog_old/bold-color-text-in-the-command-window#comment-307178 Wed, 01 Jan 2014 09:42:42 +0000 https://undocumentedmatlab.com/?p=3052#comment-307178 […] using my cprintf utility. I followed this up last year with the relatively new ability to display bold text formatting, using either fprintf or cprintf.A short while ago, Carsten Allefeld (a regular on this blog) […]

]]>
By: Aurélien Queffurusthttps://undocumentedmatlab.com/blog_old/bold-color-text-in-the-command-window#comment-103035 Thu, 09 Aug 2012 07:50:16 +0000 https://undocumentedmatlab.com/?p=3052#comment-103035 Hi Yair,

Nice article as usual. I had also noticed in Sept. 2011 the new bold syntax for the help
FYI you can read the answer of Scott Hirsch on my blog :
http://blog.developpez.com/matlab4geek/p10298/r2011b/startup-accelerator-et-help-en-gras/?page=2

It is important to say that using the s t r o n g> HTML tag as in your example with fprintf will only work in MATLAB environment.
In a standalone mode , the DOS command window will display the HTML tags … so my advise would be to use this feature only if the MATLAB code is not expected to be compiled .

Have a nice day,

Aurélien

]]>