Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

A tasklist tool for matlab

In Visual Studio there is a tool called TaskList, which searches the code for TODO comments, compiles a list of them, and lets you go to a TODO item in the code by clicking on it in the list. Is there an equivalent tool in Matlab? Is there even a convention for TODO comments in Matlab?

like image 302
Dima Avatar asked Nov 12 '10 20:11

Dima


3 Answers

What’s on my TODO list? is a post on 'Mike on the MATLAB Desktop' concerning TODO lists.

like image 100
zellus Avatar answered Nov 03 '22 00:11

zellus


Recent version of MATLAB can generate a report of TODO/FIXME. Check out this post, or read the relevant section in the documentation: Identifying Files with Reminder Annotations

like image 37
Amro Avatar answered Nov 02 '22 23:11

Amro


There is no such tool in the MATLAB Editor, and no formal convention for the format of TODO comments.

EDIT: Apparently, there is such a tool on the MATLAB Desktop (as the other answers point out), but I guess it's not the easiest thing to find as I've somehow managed to miss it for years. One drawback (which the MathWorks appears to be planning to fix sometime in the future) is that you can only search individual directories.

In addition, there are a couple utilities submitted by users on the MathWorks File Exchange that you may want to check out which appear to perform similar functions:

  • Filegrep by Brett Shoelson
  • parseTags by Alexander Reinhold
  • searchtext by Kevin

You could try these out and compare them to the built-in MATLAB TODO report generator, or even use them as a guide to create your own TaskList-like functionality.

like image 2
gnovice Avatar answered Nov 03 '22 00:11

gnovice