User manual

Table Of Contents
new folders and files. The files you will need are acm_corr.exe, mglinstaller.exe, and a folder
named bin that contains two files, FigureMenuBar.fig and FigureToolBar.fig.
1. Copy the provided executable, mglinstaller.exe, to C:\, the root directory of your C:
drive.
2. Run mglinstaller.exe by double clicking on it or calling it from DOS.
3. Specify C:\MLMGRTL when prompted for a directory into which the Matlab math
and graphics run-time libraries are to be installed.
4. Once mglinstaller has finished running you can remove it from your hard drive (at
over 7 Mbytes it is a fairly large file).
5. Add C:\MLMGRTL\bin\win32 to your system path. You may need to refer to
system specific instructions to do this. In Windows, go to the Control Panel, select
System, and edit the environment variable called "Path" to include
C:\MLMGRTL\bin\win32. If you have a Matlab directory on your path the new
entry must be listed first.
7. Copy acm_corr.exe and bin, the folder containing the two .fig files, to the folder
where the compass data will be processed.
6. It may be necessary to restart your PC before the path change will take effect.
It will now be possible to run acm_corr.exe on your PC. Operation of the stand-alone
routine, which was compiled using the m-files as the source code, is identical to running the m-
files under Matlab. Those who are interested in the mechanics of the calculation are invited to
examine the m-files.
1. Start acm_corr.exe by double clicking on its icon or with a command line call from
DOS. The executable should be in the same directory as the data files that are to be
processed. This will start the GUI interface and generate an empty plot window.
2. Enter a file name in the text entry box above the ‘Process’ and ‘Quit’ buttons of the
GUI. Do not include the .txt extension. The default file name is spin test. Other
possible entries are A0000000, A0000414, and A0000711.
3. Click ‘Process’ to start the calculation. Depending on the speed of you computer and
the size of the file, execution may require up to several seconds.
Appendix D-3