Bold keywords in editor

14 ビュー (過去 30 日間)
Peter
Peter 2011 年 5 月 5 日
コメント済み: Walter Roberson 2021 年 1 月 31 日
I was wondering if it was possible to make keywords in the matlab editor bold, instead of just changing their default color. This feature is pretty common in most other code recognition editors?

回答 (2 件)

Michael Gonzalez Vasquez
Michael Gonzalez Vasquez 2021 年 1 月 31 日
Why some comments NOT in bold? For example, i write this comment inside any function.
function total = something(...)
% This comment is a BOLD KEYWORD
% But this COMMENT not, even when I write it in caps.
if ...
...
end
end
  1 件のコメント
Walter Roberson
Walter Roberson 2021 年 1 月 31 日
First line of comments in a function is the H1 line. https://www.mathworks.com/help/matlab/matlab_prog/add-help-for-your-program.html

サインインしてコメントする。


Sean de Wolski
Sean de Wolski 2011 年 5 月 5 日
For viewing purposes?
If you're in Cell Mode the header line of each cell will be in bold.
%%I'm bold if cell mode is on
Note double %%

カテゴリ

Help Center および File ExchangeEnvironment and Settings についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by