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

per isakson
per isakson 2014년 7월 17일
편집: per isakson 2014년 7월 17일
"I use maltase 2013b " . Thus, I assume you are aware of

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Environment and Settings에 대해 자세히 알아보기

태그

질문:

2014년 7월 17일

편집:

2014년 7월 17일

Community Treasure Hunt

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

Start Hunting!

Translated by