Data Files
The command save and load allow data to be written to and read from files in various formats. The commandsave -ascii A.dat Asaves the variable A in the file A.dat. The option “-ascii” modifies the output in ascii text format. The command
load -ascii A.datloads data from the file A.dat into the variable A. Once loaded, the variable name A is recognized from the file name A.dat. If the file is called boo.dat then boo becomes the variable name for the data.
© TTU Mathematics