Having made all these nice AOs, you will be keen to save them to disk. You'll be delighted to hear that this is easy.
Two file formats are supported by LTPDA: the MATLAB binary MAT format, and an XML file format. The choice is made by the file extension.
save(a1, 'foo.xml'); save(a1, 'foo.mat');
To load the files again, you use the AO constructor:
a1 = ao('foo.xml'); a2 = ao('foo.mat');
For both the operations of saving and loading, the plist syntax is also available:
pl = plist('filename', 'foo.mat'); a1.save(pl); a2 = ao(pl);
|Basic math with AOs||Constructing AOs from data files|