Contents Previous Next Subchapters

Script Files (Mlmode)

Description
Scripts in Mlmode correspond to a file with the *.m file extension. If the file begins with the word function it is interpreted as a function . Otherwise it is interpreted as a script.

Example
Suppose that the file temp.m in the current working directory contains the text
     x = [1 2 ; 3 4];
     x + x
and you enter
     mlmode
     temp
O-Matrix will respond
     {
     [ 2 , 4 ]
     [ 6 , 8 ]
     }

O-Matrix Mode
Explicit Inclusion of Commands or Functions from a File