Refactoring in MATLAB

I got the fruitless task of including some of the programs that my predecessor wrote. One terrible mess of unorganized code.

So far, I only know about automatic identification (Ci). So I wonder if you can offer some kind of tool.

Some key issues that I am having are:

  • Assigning the same structure sparkles across the entire file
  • This is one big code file - I would like to split it
  • Quite a lot of code produces results that are never used.

Update On the pretty side, I found that Matlab Emacs mode can break up overlay lines a lot.

+5
source share
1 answer

- .

  • m , , , .
  • m . , , , (, - !)
  • . , , . , , - - ( , ?) .
  • , .

, . Matlab, , , , , .

+8

All Articles