Post date: Apr 20, 2012 9:43:30 PM
Batch command
This lets you store and execute sequences of commands -- in short, macros or programs.
Syntax is ->Batch <filename> where <filename> is the name of a text file containing matrix algebra commands.
For example, you might have a file called 'doit.txt' that contains these commands:
DoIt.txt
x = campnet
x2 = prod(x x)
x3 = prod(x2 x)
dsp x3
camp-cent = centrality(campnet)
dsp camp-cent
To run this program, you would enter matrix algebra and type:
->Batch doit.txt
See also: