User`s guide
R2009a
16-16
Programming Fundamentals
Setting the Number of Threads Removed from Preferences Panel
The capability to adjust the number of computational threads in a single MATLAB
session is no longer available as of this release. This change removes from the MATLAB
preferences panel the ability to set the maximum number of computational threads.
The primary reason for this change is that products that MATLAB is dependent upon
have the ability to spawn threads from the currently-executing thread. This makes it
infeasible to monitor and/or limit the number of computational threads at any given time
in a MATLAB process.
MATLAB versions 7.8 and later require that you decide between threading and no
threading at the time you launch your MATLAB session. Multithreading is enabled
by default. To disable this feature, start MATLAB using the new singleCompThread
option.
Compatibility Considerations
If you currently use the preferences panel to enable or disable multithreading or to adjust
the number of computational threads, you need to be aware that this capability is no
longer available. See the Startup Optionssection in the Desktop Tools and Development
Environment documentation to find out how to enable or disable multithreading when
launching a new MATLAB session.
Timer Objects Saved in New Format
The format in which MATLAB saves Timer objects has changed in MATLAB version 7.8.
Any Timer objects that you create and save while running MATLAB 7.8 cannot be loaded
into an earlier version of MATLAB.
Compatibility Considerations
If you need to use a Timer object that you have constructed using MATLAB 7.8, you will
have to reconstruct and save the object in an earlier version of MATLAB.