Display TODO/FIXME report in command window

14 vues (au cours des 30 derniers jours)
Marc Jakobi
Marc Jakobi le 11 Oct 2016
Commenté : Marc Jakobi le 8 Mar 2018
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 commentaires
per isakson
per isakson le 2 Mar 2018
Modifié(e) : per isakson le 3 Mar 2018
"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 le 8 Mar 2018
Thanks for the hint :)

Connectez-vous pour commenter.

Réponses (1)

Marc Jakobi
Marc Jakobi le 13 Oct 2016
Modifié(e) : Marc Jakobi le 13 Oct 2016

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by