| External Interfaces/API, MATLAB® Version 7.0.1 (R14SP1) Release Notes | ![]() |
New features and changes introduced in this version are described here.
MATLAB® software now supports function handles as callbacks for Microsoft® ActiveX® objects. This example passes a function handle that maps to sampev to registerevent:
cd $matlabroot\toolbox\matlab\winfun
h = actxcontrol('mwsamp.mwsampctrl.2', [0 0 200 200]);
registerevent(h, @sampev); % Click the control.With MATLAB 7.0.1, you can register events for COM servers as well as for COM controls.
This version expands MATLAB support for Web services, that is, Simple Object Access Protocol (SOAP) and Web Services Description Language (WSDL). These are some of the key enhancements:
MATLAB now supports document style messages, in addition to the Remote Procedure Call (RPC) style supported in version 7.0.
MATLAB preserves the case in method, class, and object names.
Web services functions now decode results that use Base64 encoding.
The createClassFromWsdl function now supports WSDL files that define multiple services.
The mechanism that MATLAB uses to locate native method libraries that are required by Java™ has changed. MATLAB no longer uses system environment variables to define the paths to these libraries.
If you presently rely on the PATH (for Windows) or LD_LIBRARY_PATH (for UNIX) environment variables for this purpose, you will need to use the file librarypath.txt, as described below, in its place.
Java classes can dynamically load native methods using the Java method java.lang.System.loadLibrary("LibFile"). In order for the JVM™ software to locate the specified library file, the directory containing it must be on the Java Library Path. This path is established when MATLAB launches the JVM software at startup, and is based on the contents of the file
$matlab/toolbox/local/librarypath.txt
(where $matlab is the MATLAB root directory represented by the MATLAB keyword matlabroot).
You can augment the search path for native method libraries by editing the librarypath.txt file. Follow these guidelines when editing this file:
Specify each new directory on a line by itself.
Specify only the directory names, not the names of the DLL files. The LoadLibrary call does this for you.
To simplify the specification of directories in cross-platform environments, you can use any of these macros: $matlabroot, $arch, and $jre_home.
To enable the DDE server start MATLAB with the /Automation option.
The outgoing MATLAB DDE commands (ddeinit, ddeterm, ddeexec, ddereq, ddeadv, ddeunadv, ddepoke) function normally without the MATLAB DDE server. See http://www.mathworks.com/support/solutions/data/1-Q4728.html? solution=1-Q4728 for more information.
The command clear mex now clears MEX-functions, but not M- and MEX- functions. Entering clear mex does not clear locked functions or functions that are currently in use. It does however clear breakpoints and persistent variables.
![]() | Creating Graphical User Interfaces (GUIs), MATLAB Version 7.0.1 (R14SP1) | Version 7 (R14) MATLAB® Software | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |