User`s guide

External Interfaces/API
19-39
Changes to the MATLAB Locale Setting
Retrieving and using the proper locale setting is a mandatory operation in creating
and using applications for international audiences. In R2007b, MATLAB Version 7.5
standardizes the way it initializes the locale setting across platforms. As a result, on
Microsoft Windows platforms, MEX-files that use C/C++ locale-dependent standard
library functions should note that MATLAB now sets the locale using the setlocale
function.
Because of changes to Microsoft Visual Studio, MEX-Files created on Windows with
dMicrosoft Visual Studio 2003 will not have the same locale setting as MATLAB Version
7.5 (R2007b).
Note: C/C++ users must not change the locale setting using the setlocale function.
This is true for all versions of MATLAB on all platforms.
Changes to MEX Error-Handling Functions mexErrMsgTxt and
mexErrMsgIdAndTxt
In MATLAB Version 7.5 (R2007b). the mexErrMsgTxt and mexErrMsgIdAndTxt
functions determine where the error occurred, and display the function name. In previous
versions, these functions only display the error message.
For example, if an error occurs in the function foo, mexErrMsgTxt and
mexErrMsgIdAndTxt display the following information before the error message:
??? Error using ==> foo
Rebuild MEX-Files Created with MATLAB Versions Earlier Than V7 (R14)
To work with MATLAB V7.5 (R2007b), MEX-files compiled on any platform with
MATLAB versions earlier than V7 (R14) no longer load correctly and must be rebuilt.
Changes to Compiler Support
The set of compilers that MATLAB supports has changed in MATLAB Version
7.5 (R2007b). For an up-to-date list of supported compilers, see the Supported and
Compatible Compilers Web page.