Code covered by the BSD License
by Chaowei Chen
20 Feb 2013
saves variables into MAT file matfile
Watch this File
if matfile does not exist, setfile creates matfile and save variables.
if matfile exists, setfile has the basic usage same as save