User`s guide
7
MATLAB MEX-Files & M-Files
Overview
MATLAB lets you call user programs (MEX-files) from MATLAB as if they were built-in MATLAB
functions. MEX-files are usable only on PC-MATLAB or AT-MATLAB. They do not work on
386-MATLAB.
Note MATLAB, PC-MATLAB, and AT-MATLAB are trademarks of
The MathWorks, Inc.
M-files are command scripts. MATLAB executes the commands found in M-files, instead of getting
input from the keyboard.
This section describes the MEX-files and M-files for MATLAB that operate on SDF data.
Installing MEX-Files and M-files
To install the MEX-files and the M-files, copy *.m and *.mex (in the \matlab directory) to any directory
on your MATLAB search path (see MATLABPATH in your MATLAB User’s Guide). Copy
matdemo.tim to this directory: \analyzer\tc. Copy sdftoml.exe to this directory: \analyzer\util
(sdftoml.exe is available as part of the Standard Data Format Utilities).
7-1