| Programming, MATLAB® Version 7.6 (R2008a) Release Notes | ![]() |
New features and changes introduced in this version are
Multithreaded computations, introduced in R2007a, are now on by default.
To disable multithreaded computations, open the Preferences dialog, choose Multithreading, and then disable it explicitly.
Major enhancements to object oriented programming capabilities enables easier development and maintenance of large applications and data structures.
New features include:
The new classdef keyword enables you to define properties, methods, and events in a class definition file. See Class Overview.
A new handle class with reference behavior enables you to create more sophisticated data structures, such as linked lists and to manage external resources, such as files. See Comparing Handle and Value Classes.
Events and listeners enable you to monitoring object property changes and other actions. See Events — Sending and Responding to Messages.
Packages enable scoping of classes and functions. See Scoping Classes with Packages.
Meta-classes provide support for class introspection. See Obtaining Information About Classes with Meta-Classes.
JIT/Accelerator support provides significantly improved performance over the previous object oriented-programming system.
For a full description of object-oriented features, see MATLAB® Classes and Object-Oriented Programming.
This release provides the capability to manage name space by placing classes and functions in packages.
With the new clearvars function, you can specify which variables you do not want cleared from memory.
The new memory function provides memory usage information such as largest block available, allowing you to diagnose memory problems on Microsoft Windows platforms
The memory function existed in previous versions of MATLAB, but its purpose has changed. Previously, memory provided help text on how to free additional memory space for your MATLAB application. The function now returns information on the current state of memory use and availability in your system.
With the new onCleanup function, you can specify one or more tasks for MATLAB to perform just before exiting the current function.
| Name | Description |
|---|---|
| clearvars | Clear variables from memory |
| memory | Display memory information |
| onCleanup | Cleanup tasks at function completion |
JIT/Accelerator support now extends to statements executed at the MATLAB Command Line and in cell mode in the MATLAB Editor. This provides improved performance in these environments.
The image information and writing functions have the following enhancements:
imfinfo can now return Exif data for JPEG or TIFF format image files. Information specific to the digital camera can be found in the 'DigitalCamera' field, while any global positioning system information can be found in the 'GPSInfo' field.
imwrite now supports the 'RowsPerStrip' parameter that you can use to specify how many image rows to include in a strip when writing TIFF files. By default, imwrite limits the number of rows included in a strip so that the size of the strip does not exceed 8 KB. Now you can specify strips of larger size.
Some of the chapters in the MATLAB Programming documentation have been moved or renamed in this release. Also the title of the Programming documentation has been changed to Programming Fundamentals in order to differentiate this part of the MATLAB help from the new documentation on Developing MATLAB Classes.
![]() | Data Analysis, MATLAB® Version 7.6 (R2008a) | Graphics and 3-D Visualization, MATLAB® Version 7.6 (R2008a) | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |