|Contents   Functions      PDF Index|
General purpose command parser for user interface command functions.
Commands and options are central to SDT. These strings are passed to functions to allow multiple variations in behavior. Accepted commands are listed in the help (text) and sdtweb (html) documentations (see iicom, fecom, feutil, etc.).
For example ch i indicates that the command ch expects an integer. ch 14 is valid, but ch or ch i are not.
For example ch[,c] [i,+,-,+i,-i] means as a first alternative that ch and chc are possible. Then alternatives are i a number, + for next, - for previous, +i for shift by i. ch 14, chc 12:14, chc+, ch-2 are all valid commands.
The UI command functions only accept one command at a time, so that commode was introduced to allow
Most command functions send a command starting by a ';' to commode for parsing. Thus commode ('iicom','cax1; abs') is the same as iicom (';cax1;abs')
The following commands are directly interpreted by commode (and not sent to the command functions)
|q,quit||exits the command mode provided by commode but not MATLAB .|
|script FName||reads the file FName line by line and executes the lines as command strings.|
The following syntax rules are common to commode and MATLAB
|%comment||all characters after a % and before the next line are ignored.|
|||brackets can be used to build matrices.|
|;||separate commands (unless within brackets to build a matrix).|
comstr, iicom, fecom, femesh