| MATLAB Release Notes | ![]() |
Desktop Tools and Development Environment Upgrade Issues
The issues involved in upgrading from MATLAB 6.5 to MATLAB 7.0, in terms of desktop tools and development environment features, are discussed below.
Desktop and General Changes
terminal function was removed.
license command is now sorted in alphabetical order and uses only lowercase characters.
Command Window
Help Browser
web function no longer opens the specified URL in the Help browser by default, but instead opens the page in the MATLAB Web browser. Use the -helpbrowser option to open the page in the Help browser.
-nojvm option, you cannot view the HTML documentation files from within MATLAB. The docopt function no longer supports that option. You can view the HTML documentation files at the MathWorks Web site.
File Operations, Workspace, and Path
If you have a function name that is the same as a MATLAB built-in function, your function might run instead of the built-in function, whereas in previous releases the built-in function would have run. For the built-in function to run, remove or rename your function, or change the directory order in the search path.
path2rc function has been replaced by a new function, savepath. If you use path2rc, it will run savepath instead. The new function, savepath, performs the same actions as path2rc did, but uses a more intuitive name. In addition, savepath is case-sensitive on PC platforms, whereas path2rc was not. Use savepath instead of path2rc, and replace existing instances of path2rc with savepath.
Editing and Debugging
%{ and %}, they might be misinterpreted as block comment start and end symbols, and might cause errors in your file.
%%, those lines might be misinterpreted as the start of a cell. Your files will still run without problems, but if you publish the M-files, you might need to modify those lines.
dbstack function was updated to support nested functions. If you use dbstack in M-files, you might need to update your files because of this change. When you run dbstack and return results to a structure, there are now three fields, whereas in previous versions, there were only two fields. The fields are:
The file field does not contain a complete pathname, as the name field did in previous versions. To get the complete pathname, use dbstack('-completenames').
dbstatus function was updated to support conditional breakpoints. As a result there have been changes to some of the fields in the structure returned with s = dbstatus(...). If you use dbstatus in M-files, you might need to update your files because of this change. For details on the new format, see the dbstatus reference page.
Source Control
In MATLAB 6.5 (R13) and MATLAB 7.0 (R14), only source control systems that comply with the Microsoft Common Source Control standard are supported. If there is a compliant source control system installed on your machine, it will be listed in the Source Control options in the MATLAB Preferences dialog.
There are several vendors who provide and interface into Revision Control Systems (RCS), Concurrent Versions System (CVS), and other such tools using Microsoft Source Code Control API. ComponentSoftware provides one such interface layer.
| Upgrading from an Earlier Release | Mathematics Upgrade Issues | ![]() |
© 1994-2005 The MathWorks, Inc.