text formatting in m file editor

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.

 采纳的回答

Image Analyst
Image Analyst 2014-7-17

0 个投票

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.

更多回答(1 个)

per isakson
per isakson 2014-7-17
编辑:per isakson 2014-7-17

0 个投票

The short answer is no!
Maybe http://undocumentedmatlab.com/ presents tricks.

1 个评论

"I use maltase 2013b " . Thus, I assume you are aware of

请先登录,再进行评论。

类别

在 帮助中心 和 File Exchange 中查找有关 Environment and Settings 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by