text formatting in m file editor

2 vues (au cours des 30 derniers jours)
dushyant
dushyant le 17 Juil 2014
Modifié(e) : per isakson le 17 Juil 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.

Réponse acceptée

Image Analyst
Image Analyst le 17 Juil 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.

Plus de réponses (1)

per isakson
per isakson le 17 Juil 2014
Modifié(e) : per isakson le 17 Juil 2014
The short answer is no!
Maybe http://undocumentedmatlab.com/ presents tricks.
  1 commentaire
per isakson
per isakson le 17 Juil 2014
Modifié(e) : per isakson le 17 Juil 2014
"I use maltase 2013b " . Thus, I assume you are aware of

Connectez-vous pour commenter.

Catégories

En savoir plus sur Environment and Settings dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by