User`s guide
R2008a
18-48
Environment Variables Required with Intel Visual Fortran 9.0
When you build a MEX-file, an engine application, or a MAT application using Intel
Visual Fortran 9.0, MATLAB requires that you define an environment variable for the
Windows platform you are using.
Windows (32-bit) platform
Define the environment variable VS71COMNTOOLS. The value of this environment
variable is the path to the Common7\Tools directory of the Microsoft Visual Studio .NET
2002 or 2003 installation directory. (Intel Visual Fortran requires Visual Studio .NET
2002 or 2003 on 32-bit Windows platforms.) The Visual Studio .NET 2003 installation
program commonly defines this environment variable. For example, you might set the
environment variable as follows:
C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\Tools
Windows x64 platform
Define the environment variable MSSdk. The value of this environment variable is the
path to the installation directory for Microsoft Platform SDK for Windows Server
®
2003.
(Intel Visual Fortran requires Microsoft Platform SDK for Windows Server 2003 on
Windows x64 platforms.) The Microsoft Platform SDK installation program does not
commonly define this environment variable. For example, the environment variable
might have the value
C:\Program Files\Microsoft Platform SDK
-largeArrayDims Option to MEX Will Become Default
In a future version of MATLAB, the default mex command will change to use the large-
array-handling API. This means the -largeArrayDims option will be the default. For
information about migrating your MEX-files to use the large-array-handling API, see the
Technical Support solution 1-5C27B9.
Compatibility Considerations
In the near future you will be required to update your code to utilize the new API. You
should review your source MEX-files and mex build scripts.