Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
I'm not 100% sure what you mean by "keywords", but Matlab 5.3.0.10183
(R11) has the following 16 reserved words:
break case catch dbcont
else elseif end for
global if otherwise persistent
return switch try while
Note that `end' is special: When it is used as the last index in an
indexing expression it is a function call and should not be highlighted
as a keyword. So `end' should only be highlighted when it appears at
parenthesis level zero.
Peter
--
Peter J. Acklam - jac...@math.uio.no - http://www.math.uio.no/~jacklam
> I want to write a contextual highlighting file for TextPad 4 and I need
> a list of Matlab keywords to do this. Is there a list I can use?
The MATLAB "pretty printing" a2ps stylesheet I
wrote for MATLAB 5.3 is available from:
http://128.100.80.13/marco/matlab/matlab5.ssh
It contains a list of all words that "mean something
special" to MATLAB (although it doesn't include commands
from the various toolboxes).
Hope this helps...
_________________________________
ma...@chinook.physics.utoronto.ca
Gunnm: Broken Angel
http://128.100.80.13/marco/alita.html
Here is a url for someone who has done work with importing MATLAB into
latex. Near the bottom of this page is some information about an m-file
script written by another users to convert ascii to ps. Marco De la
Cruz wrote
a MATLAB V4 and V5 style file for the script. There is a list of
keywords in this file. The url is
http://128.100.80.13/marco/matlab/coolplot.html
IHTH
Ed
Michael Robbins wrote:
--
--------------------------
Edward C Manlove
Graduate Student
University of Rhode Island
email: man...@ele.uri.edu
phone: 401-782-1327 (H)
--------------------------