User`s guide

UNIX Workstation
2-13
Next, verify that invhilb is now a MEX-file by listing the invhilb files.
ls invhilb.*
You wil l see a lis t s imila r to this.
invhilb.c invhilb.m invhilb_mex.c
invhilb.h invhilb.mexsol
These are the various files that the Compiler generates from the M-file. The
Compiler-ge nerated MEX-file appears in the list as the filename followed by
the appropriate UNIX MEX-file extension. In this example, the Compiler was
executed on Solaris, so the Compiler creates the file
invhilb.mexsol.Formore
information on which files the Compiler creates for a compilation, see Chapter
5, “Controlling Code Generation.”
To test the newly created MEX-file, start MATLAB and, at the MATLAB
prompt, type
invhilb(10)