Display TODO/FIXME report in command window

31 ビュー (過去 30 日間)
Marc Jakobi
Marc Jakobi 2016 年 10 月 11 日
コメント済み: Marc Jakobi 2018 年 3 月 8 日
Hi everyone.
Using the command
checkcode('function.m')
you can run the code analyzer on an m-file and output the report in the command window.
Is there any way to do this for TODO/FIXME reports? (without having to cd to the folder that contains the function and manually run it on the whole directory)
Bonus: If so, is it also possible to create custom tags? In eclipse, you can create custom TODO tags like "MTODO" and "JTODO" for different purposes/different people and have them displayed separately. Is this possible in Matlab?
Thanks in advance for any help! I will be continuing my google searches and will post the results if I find something.
  2 件のコメント
per isakson
per isakson 2018 年 3 月 2 日
編集済み: per isakson 2018 年 3 月 3 日
"tags like "MTODO" and "JTODO" for different purposes/different" The third string is matched with regular expressions, which provides some possibilities
.
/ R2016a
Marc Jakobi
Marc Jakobi 2018 年 3 月 8 日
Thanks for the hint :)

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

回答 (1 件)

Marc Jakobi
Marc Jakobi 2016 年 10 月 13 日
編集済み: Marc Jakobi 2016 年 10 月 13 日
  1 件のコメント
per isakson
per isakson 2018 年 3 月 2 日
Thank you for sharing: TODOS by Marc Jakobi

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

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by