\input artmacs
\input size12
\centerline{\bf scope\_to\_mat: anaLOG scope dump to Matlab .mat file converter}
\vskip24pt
\noindent USAGE: scope\_to\_mat filename
\vskip24pt
\noindent You should have dumped some variables from anaLOG scope mode
using ``dump'' and given the file a name (no extension). anaLOG will
have created a file: filename.text. scope\_to\_mat will read this file
and create a filename.mat file. .mat files are the kind of files produced
by the Matlab ``save'' command. They are a dump of the current workspace.
Thus, after running scope\_to\_mat, you can enter Matlab and then execute:
load filename. At this point the Matlab ``who'' command should list the
variable names that were present on the scope back in anaLOG.
There will always be a variable ``TIME'' in the file, as anaLOG writes
this as a record of the time points at which the other variables were
recorded and plotted on the scope (sort of the scope horizontal axis).
Notice that the values of the variable ``TIME'' do not increase by 
constant increments.

\bye

