Syntax highlighting "wordfile" for UltraEdit & MatLab (Scripts) Publisher's description
from Nicky McLean
Revision of the version inspired by Jason Breslau, through inspection of the list of special words from http:/
Revision of the version inspired by Jason Breslau, through inspection of the list of special words from http://www.mathworks.com/access/helpdesk/help/techdoc/index.html?/access/helpdesk/help/techdoc/ref/funcalpha.html ://http://www.mathworks.com/access/hel...funcalpha.html which however also includes subjects: these words have been removed, all I hope.
Functions have been distinguished from statements via my glances at usage in the supplied help system, thus "plot" is more like a statement than a function even though it has parameters and can deliver a result. Not that I'm familiar with all usages, nor does it help that function cellstr is not found via the help's index even though it is between cellplot and cgs which are. If this distinction is of no interest, both groupings can be assigned the same colour.
I am not familiar with the "obj" and "handle" style usages and there is no attempt to include the additional special words of additional MatLab packages such as the statistic toolbox.
As per A.J.Johnston, there are Indent/UnIndent strings, with further details suggested by maryhit to enable the "folding" of blocks, for example if ... end. Unfortunately, the corresponding folding of block comments evades my attempts.
Since Matlab ignores the " character and uses an apostrophe to mark strings as well as array transposition, the latter caused difficulty with strings apparently extending across many lines until the next odd apostrophe. Jeff Mattice suggested adding the special incantation DisableMLS but on noticing that UltraEdit now recognises the word MATLAB_LANG, a trial showed that the problem went away. I am not at all clear on what other details this might affect.
System Requirements:MATLAB 7.7 (R2008b)
Program Release Status: New Release
Program Install Support: Install and Uninstall