e-Mathematics > Matrix Algebra

Data Files

The command save and load allow data to be written to and read from files in various formats. The command
save -ascii A.dat A
saves the variable A in the file A.dat. The option “-ascii” modifies the output in ascii text format. The command
load -ascii A.dat
loads 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