text formatting in m file editor

2 views (last 30 days)
dushyant
dushyant on 17 Jul 2014
Edited: per isakson on 17 Jul 2014
I use maltase 2013b and I have always wondered how to format some part of the code in m file to bold, italic or color.
Is there a way to format a text/code in m file like we format text in MS word?
By having such formatting ability for code, it makes it easier to highlight, read and find interesting part of the code.

Accepted Answer

Image Analyst
Image Analyst on 17 Jul 2014
MATLAB (I'm assuming that's what you meant by "maltase") does have color coding for some items (numbers, string, keywords, etc.) and can highlight the current line. See the preferences dialog box. However it does not give you precise control over every excruciating detail for every type of text item, and what color you want to give it, or other font attributes like bolding, italics, and so on.

More Answers (1)

per isakson
per isakson on 17 Jul 2014
Edited: per isakson on 17 Jul 2014
The short answer is no!
Maybe http://undocumentedmatlab.com/ presents tricks.
  1 Comment
per isakson
per isakson on 17 Jul 2014
Edited: per isakson on 17 Jul 2014
"I use maltase 2013b " . Thus, I assume you are aware of

Sign in to comment.

Categories

Find more on Environment and Settings in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!