User`s guide
External Interfaces/API
18-47
propertyValue = get(javaObject, 'PropertyName');
set(javaObject, 'PropertyName', newValue);
Compatibility Considerations
The correct commands to use are:
propertyValue = javaObject.getPropertyName;
javaObject.setPropertyName(newValue);
In future versions of MATLAB, using get or set on Java objects to manage the
properties will generate an error.
New mxArray Functions for Use with MATLAB Class Objects
You can read and modify properties of MATLAB class objects using the mxGetProperty
and mxSetProperty functions.
mex.bat File Removed from matlabroot\bin\$ARCH
Beginning with MATLAB Version 7.3 (R2006b), the Windows script mex.bat is
located in the directory matlabroot\bin. Copies of this file were also in the directory
matlabroot\bin\$ARCH. In MATLAB Version 7.6 (R2008a), mex.bat is only located in
matlabroot\bin.
Compatibility Considerations
If you did not make the updates described in “Location of mex.bat File Changed” on page
21-37, you may need to make changes now.
Run-time Libraries Required for Applications Built with Microsoft Visual
Studio 2008 Compiler
If you distribute a MEX-file, an engine application, or a MAT-file application built with
the Visual Studio 2008 compiler, you must provide the Visual C++ run-time libraries.
These files are required to run applications developed with Visual C++ on a computer
that does not have Visual C++ 2008 installed. For information on locating the Microsoft
Visual C++ 2008 Redistributable Package (x86), containing vcredist_x86.exe and
vcredist_x64.exe, consult your Microsoft documentation.