MATLAB Release Notes |
|
Development Environment Features
Command Window
MATLAB 6.1 includes two command window enhancements:
- You can set a preference for the command window to wrap lines. Input and output lines wrap to fit within the current width of the command window.
- If an error message appears when running an M-file, click on the underlined portion of the error message, or press Ctrl+Enter. The offending M-file opens in the Editor, scrolled to the line containing the error.
Help Browser
When you select documentation for the product filter, you can clear all currently selected products or select all products.
Editor/Debugger
The Editor/Debugger has the following enhancements:
- You can set bookmarks in M-files in the Editor/Debugger so that you can go directly to a particular line in the file. To set a bookmark, position the cursor at the line you want to bookmark, and then select Set/Clear Bookmark from the Edit menu.
- After setting bookmarks, you can go to the next or previous bookmark in a file. This allows you to go directly to a marked spot. Use the Edit menu items Next Bookmark and Previous Bookmark to navigate. Bookmarks are not saved when you close a file.
- You can include line numbers when printing files from the Editor/Debugger. To include line numbers, select Preferences -> Editor/Debugger -> Printing. Under Print options, check Print line numbers.
- You can use keyboard shortcuts to comment or uncomment a selection in the Editor/Debugger. The shortcuts are platform dependent and are listed with the menu items on the Editor/Debugger Text menu.
- In the Find/Replace dialog box, settings for Match case, Whole word, and Wrap around are remembered for the next MATLAB session.
- You can find the previous occurrence of a selection in the Editor/Debugger by pressing Ctrl+Shift+F3. You can also find the previous occurrence of a string you entered into the Find & Replace dialog box by pressing Shift+F3.
- When you move an arrow key over a token, for example, an opening parenthesis, (, the token and its match are briefly underlined. If there is no matching token, the token appears with a strike-through mark, .
- When you run a file from the Editor/Debugger and the file is not in a directory on the search path or in the current directory, a dialog box appears presenting you with options that allow you to run the file. You can either change the current directory to the directory containing the file, or you can add to the search path the directory containing the file.
- If the file you want to run is already in a directory on the search path or in the current directory, the current directory remains as is and there are no actions you need to take.
- When you add a breakpoint to a file that is not in a directory on the search path or in the current directory, a dialog box appears presenting you with options that allow you to add the breakpoint. You can either change the current directory to the directory containing the file, or you can add to the search path the directory containing the file.
- If the file you want to run is already in a directory on the search path or in the current directory, the current directory remains as is and there are no actions you need to take.
- If you type
edit filename
and filename
does not exist, a prompt appears asking if you want to create a new file. If you select Yes, a blank file titled filename.m
is created in the Editor/Debugger. You can turn off this option in preferences for the Editor/Debugger.
Current Directory Browser
In the Find/Replace dialog box, settings for Match case, Whole word, and Subdirectories are remembered for the next MATLAB session.
Also, you can delete directories that are not empty. All contents of the directory will be deleted along with the directory.
Workspace Browser
You can select the column on which to sort in the Workspace browser, as well as reverse the sort order of any column. Click on a column heading to sort on that column. Click on the column heading again to reverse the sort order in that column. For example, to sort on Size, click the column heading once. To change from ascending to descending, click on the heading again.
Source Control
If you use Merant PVCS with MATLAB source control features, you no longer need to specify the project configuration file using cmopts
. If you did specify it in previous releases, you do not have to remove it as MATLAB will ignore it.
General
The computer
function now displays the endian byte ordering of the computer with the following form.
| MATLAB 6.1 Release Notes | | Mathematics Features | |