User`s guide

2 Installation and Configuration
2-24
information about the add-in, see “Using an IDE” in Chapter 4, “Stand-Alone
Applications.”
MATLAB Compiler Verification
Verifying from MATLAB
OnceyouhaveverifiedthatyoucangenerateMEX-filesonyoursystem,you
are ready to verify that the MATLAB Compiler is correctly installed. Type the
following at the MATLAB prompt.
mcc -x invhilb
After a short delay, this command should complete and display the MATLAB
prompt. Next, at the MATLAB prompt, type
which invhilb
The which command should indicate that invhilb is now a MEX-file; it should
have created the file
invhilb.dll. Finally, at the MATLAB prompt, type
invhilb(10)
Note that this tests only the Compiler’s ability to make MEX-files. If you want
to create stand-alone applications or DLLs, refer to Chapter 4, “Stand-Alone
Applications,” for additional details.
Verifying from DOS Command Prompt
To verify that the Compiler can generate C MEX-files from the DOS command
prompt, you follow a similar procedure as that used in the previous section.
Note Before you test to see if the Compiler can generate MEX-files from the
DOS command prompt, you may want to delete the MEX-file you created in
the previous section,
invhilb.dll.Thatway,youcanbesureyournewly
generated MEX-file is the result of using the Compiler from the DOS prompt.
To delete this file, you must clear the MEX-file or quit MATLAB; otherwise
the deletion will fail.