Matlab does not yet offer a sophisticated code beautifier.
There is only a built in option to auto-indent the code.
The project would include to write a Matlab-Code beautifier in JavaScript.
We have already created a simple HTML page which serves as user interface.
More specifically, the code beautifier should include the following features:
* Output code behaves identically to input
* Output has consistent use of spaces (e.g. the white space before and after the equal sign and the indentation)
* Output has matching braces (Probably requires a Matlab-Code syntax verifier which is required anyway, I think.)
* Auto-Indent-function (Like the built-in one, or at least consistent)
* (Optional) No need to break a line which is 'too long'.
(A line containing a command is not split into two lines if the command is very long and exceeds any arbitrary limit)
* Works with Script-Files (just a "collection" of Matlab-commands) and Functions-Files (can use local variables, input parameters and return parameters)
[c.f. [login to view URL] ]
My budget is limited at 100$.
I have attached the HTML page. Pls show me on your server, so I can test.