| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → MATLAB |
| Contents | Index |
| Learn more about MATLAB |
New features and changes introduced in this version are organized by these topics:
MATLAB software is now using version 1.4.2 of Sun Microsystems Java JVM software.
New features and changes introduced in this version are
The MATLAB desktop now provides you with new options for arranging the following types of documents:
M-files and other files in the Editor/Debugger
Arrays in the Array Editor
Figure windows
HTML documents in the MATLAB Web browser
You can dock these types of documents in the desktop, undock them from the desktop so each is in its own separate window, or group undocked documents together in their tool. You can now position the documents using these features: tile, left/right split, top/bottom split, floating, or maximized. Use the Window menu or toolbar icons to position documents.
Docking Tools and Documents.
There are now dock buttons
in the menu bars of undocked
tools and documents. Click a dock button to move the tool into the
desktop, or to move the document into its tool.
Document Bar. There is now a Document Bar in tools that support documents that you use to go to open documents. It appears when there is more than one maximized document open in a tool. You can hide or move the Document Bar by selecting Desktop > Document Bar menu options.
Saving Layouts. You can save desktop layouts. Select Desktop > Save Layout and provide a name. To restore a saved layout, select Desktop > Desktop Layout > name.
Launch Pad Removed. The Launch Pad tool was removed. Use the Start button instead.
Adding Your Own Toolbox to Start Button. Add your own toolbox to the Start button. Select Start > Desktop Tools > View Source Files. Click Help in the resulting dialog box for details.
Search for files and directories, as well as for content within files by selecting Edit > Find Files from any desktop tool. For details, see Advanced Search for Files — Find Files Tool in the online documentation.
You can create and run MATLAB shortcuts, where a shortcut is an easy way to run a group of MATLAB statements. A shortcut is like an M-file script, but unlike an M-file, a shortcut does not have to be on the search path or in the current directory for MATLAB when you run it.
Create a shortcut by selecting Start > Shortcuts > New Shortcut and completing the dialog box. Run the shortcut from the Start button.
You can also create a shortcut by dragging selected statements to the shortcut toolbar. This adds the shortcut to the toolbar, from where you can then run it. For details, see Running Frequently Used Statement Groups with MATLAB Shortcuts in the online documentation.
MATLAB now displays HTML documents it produces in a new desktop tool, the MATLAB Web browser. You can display HTML documents in this Web browser using the web function.
The web function now opens the MATLAB Web browser by default, instead of opening the MATLAB Help browser. Use the web function's -helpbrowser option to display files in the Help browser.
Debug Menu Added. You can now access debugging features from the Debug menu of most desktop tools.
View, Window, and Desktop Menus. There is no longer a desktop View menu, although some tools still have a View menu. The Window menu in the desktop has changed. Use the new Desktop menu to select a layout, and to open and close tools. Use the Window menu to access open tools and documents, as well as to position documents. The menus and the menu items in the desktop change, depending on the current tool selected.
Web Menu Items Moved. The Web menu was removed. Access the items it contained from Help > Web Resources.
There is now a keyboard shortcut you can use to go to each tool and to each open document. For example, use Ctrl+0 to go to the Command Window, and Ctrl+Shift+0 to go to the most recently used Editor document. See the Window menu for the shortcuts to go to currently open tools and documents.
There have been some changes to the keyboard shortcuts you use with desktop tools. For example, Ctrl+Tab now moves you to the next open tool or group of tools tabbed together. In previous releases, Ctrl+Tab moved you to the next open document or tool. In MATLAB version 7, use Ctrl+Page Down to move to the next open document or tool in a tabbed group.
You can drag selected text or files between desktop tools. For example, you can
Select text in the Editor and drag it to the Command Window, which cuts and pastes it into the Command Window. You can use Ctrl while dragging to copy selected text instead of just moving it.
Select a file in the Current Directory browser and drag it to the Editor, which opens the file in the Editor.
You can also drag selected text or files between desktop tools and external tools and applications. For example, you can
Select a MAT-file from the Microsoft Windows Explorer and drag it to the Command Window, which loads the data into the workspace for MATLAB.
Select text from a page displayed in a Netscape Navigator browser and drag it to a file in the Editor, which pastes the text into the file in the Editor.
In desktop tools that contain columns, you can drag a column to a new position. For example, this includes the Current Directory browser, and the Help browser Index and Search panes. Click a column head to sort by that column. For some tools, you can click again to reverse the sort order.
When a column is too narrow to show all the information in it, position the cursor over a long item in that column, and a tooltip displays showing the complete content of the item.
Access font and color preferences for all desktop tools in the Fonts and Colors preference panes. Select File > Preferences > Fonts or File > Preferences > Colors. For more information, click the Help button in the preferences dialog box, or see Setting Fonts Preferences for Desktop Tools and Setting Colors Preferences for Desktop Tools in the online documentation.
The terminal function was removed.
Compatibility Considerations. If your code refers to the terminal function, you need to change it.
The data returned by the license command is now sorted in alphabetical order and uses only lowercase characters.
Compatibility Considerations. If you rely on the data returned by license, be sure your code works properly with these changes.
New features and changes introduced in this version are
Tab Completion Graphical Interface Added; Removed Preference to Limit Completions
Navigate in Command Window Using Arrow Keys Via New Preference
Incremental Search Indicates Search Direction and is Now Case Sensitive
commandwindow Function Added to Open or Select the Command Window
Tab completion now has a graphical interface. For example, type cos and press the Tab key. A list of functions that begin with cos appears. Double-click the function you want and MATLAB completes the name in the Command Window. Alternatively, when the list of names appears, you can type the next unique letter in the name, and the first name in the list that matches it is selected. Continue typing unique letters to select the name you want, and press Enter. Press Esc to clear the list without selecting a name.
With the new interface, there is a no longer a preference allowing you to limit the number of tab completions that display. MATLAB always displays all possible completion.
Compatibility Considerations. If you relied on the preference to limit the number of tab completions MATLAB displays, type more characters before pressing Tab so fewer possible completions display.
There is a new preference that allows you to use arrow keys to navigate in the Command Window instead of recalling history.
The incremental search interface now indicates the search direction. It is also case sensitive when you enter uppercase letters in the search field.
Use the new commandwindow function to open the Command Window when it is closed. For example, use this function in an M-file. Or if the Command Window is already open, use the function to select the Command Window, making it the active window.
On Apple Macintosh platforms, you can now use Command+. (Command key and period key) to stop execution of a running program.
When you include an ellipsis in a statement so that you can continue the statement on the next line, any text you type after the ... on the same line is considered to be a comment in MATLAB and now is syntax highlighted as a comment. In previous releases, the syntax highlighting did not indicate the text after the ... as a comment.
Evaluate selection, available from context menus for various tools, no longer appends the selection to the statement at the prompt, but instead runs the selection. Make a selection and press Enter or Return to append the selection to the statement at the prompt and execute it.
The default colors for syntax highlighting have been modified. Unterminated strings are now maroon, while terminated strings are now purple. This is the opposite of previous versions. Maroon is considered to be more of an "alerting" color, resembling the default of red for errors, which is the reason for the change. If you prefer the colors used in previous versions, change them using preferences — see M-File Syntax Highlighting Colors in the online documentation.
In addition, arguments in statements entered using command syntax rather than function syntax are highlighted as strings, emphasizing that variables in command syntax are passed as literal strings rather than as their values.
Stopping execution using Ctrl+C (^C) has changed. Windows and The Open Group UNIX platforms now respond similarly to Ctrl+C, and in general, stop execution without the need for pause or drawnow statements in your M-files. For M-files that run for a long time, or that call built-ins or MEX-files that take a long time, Ctrl+C does not always effectively stop execution. In that event, include a drawnow command in your M-file, for example, within a large loop. Ctrl+C might be less responsive if you started MATLAB with the -nodesktop option.
Matching parentheses in the Command Window is not supported in this version.
Compatibility Considerations. This feature was available in the Command Window in previous versions but you cannot use it in this version.
Syntax Highlighting in Command History. Entries in the Command History tool now appear with syntax highlighting.
Tree View in Command History. Entries in the Command History now appear in a tree view so you can minimize the length of the visible history. The top-level nodes of the tree are the dates/times for each session, and beneath that is the history for that session. Click the - to the left of a date/time to hide the history entries for that session. Click the + to the left of a date/time entry to show history entries for that session.
commandhistory Function Added to Go to Tool. Use the new commandhistory function to open the Command History when it is closed, and to select it when it is open.
Save Frequency Higher by Default. The default for saving the history has changed. Now, by default, MATLAB saves the history file after five statements have been added to the history. You can modify the frequency using Command History preferences.
New features and changes introduced in this version are
Documentation is automatically installed for all the products you install. Documentation is no longer accessible from CD-ROMs. To access the documentation for products not installed on your system, use The MathWorks Web site, http://www.mathworks.com/access/helpdesk/help/helpdesk.shtml.
Compatibility Considerations. Because of this change, the docroot function is no longer needed and will not be supported.
The Index pane now has an alphabetical quick index, so you can choose a letter to see entries starting with that letter. You can still type any index term in the text box to go directly to that term. Index entries are now shown as links. Entries that are merely headings do not go to a specific page and do not appear as links. As is true for all desktop tools, you can now drag columns in the Index pane to reorder them, or click a column head to sort by that column.
In the Search pane, you no longer select the type of search. Results are ordered so reference pages appear first, followed by headings that include the search terms. After performing a search, click the link at the bottom of the Search pane to look for the same term in the technical support database on The MathWorks Web site. As is true for all desktop tools, you can now drag columns in the Search pane to reorder them, or click a column head to sort by that column.
Add pages in the Help browser to favorites (also known as bookmarking pages) by selecting Favorites > Add to Favorites. The Favorites Editor dialog box opens. Accept the default entries or modify the Label and click Save. Access favorites from the Favorites menu or from the Start menu Shortcuts item.
Click the binoculars icon on the display pane toolbar to search within the page.
The Help browser is now used only for MathWorks documentation installed with your products.
You can no longer enter a URL in the Title field of the display pane. Instead run the web function to enter a URL in the Location field. Links from the documentation to Web pages display the Web pages in the MATLAB Web browser, not in the Help browser.
The new docsearch function allows you to execute a full text search of the Help browser documentation from the Command Window.
The help function now allows you to get help for methods and classes. For details, see specific instructions in the release notes about using help and doc for each product, or type help help.
The web function no longer opens the specified URL in the Help browser by default, but instead opens the page in the MATLAB Web browser.
Compatibility Considerations. If you want web to open pages in the Help browser, use the -helpbrowser option.
If you start MATLAB using the -nojvm option, you cannot view the HTML documentation files from within MATLAB. The docopt function no longer supports that option.
Compatibility Considerations. This represents a change from previous versions. You can view the HTML documentation files at the MathWorks Web site.
New features and changes introduced in this version are organized by these topics:
Built-In Functions Now Treated Like Other M-Files on Search Path
Visual Directory and Directory Reports in Current Directory Browser
Value Column Added to Workspace Browser. The Workspace browser now includes a Value column where you can see the content of the variable, or a description of the content. Click the value in the Value column to edit the content.
Rename or Duplicate Variable in Workspace Browser. Click a variable name (in the Name column) to rename the variable. To create a copy of a variable, right-click and select Duplicate from the context menu.
Plotting Selected Variables from Workspace Browser.
Click the plot icon
in the Workspace browser
toolbar to plot the selected variable. Choose from other applicable
plots by clicking the arrow next to the plot button. The function
used to create the plot appears in the Command Window so you can use
it again later.
Print from Workspace Browser. Click the Print button in the Workspace browser toolbar to print a view of the current workspace.
MAT-Files Compressed by Default. MAT-files are now compressed by default. For details on compressing MAT-files, see the Compressed Data Support in MAT-Files in the Programming release notes.
genvarname Function Added to Construct Variable Name in MATLAB Software. Use the new function genvarname to construct a valid variable name in MATLAB from a given candidate, where the candidate can be a string or a cell array of strings. For details, type help genvarname.
datatipinfo Function Added to Display Information About Variable. The new function datatipinfo(x) displays information about the variable, x.
Cell Arrays and Structures Now Supported. You can now view and edit the content of cell arrays and structures in the Array Editor. For example, double-click a structure in the Workspace browser to open it in the Array Editor. In the Array Editor, double-click an element of the structure to open it as its own Array Editor document. You can then view and edit the contents.
Plotting Multiple Elements.
You can select contiguous elements in an array, and then click
the plot button
on the Array Editor toolbar
to plot only the selected elements. Click the arrow next to the plot
button in the toolbar to select from other applicable plots.
Print from Array Editor. You can print an array from the Array Editor. Select File > Print to create a print of the current variable.
Larger Arrays Supported. You can open arrays having up to 2^19 (524288) elements, which is eight times more than the previous limit, 2^16 (65536).
Save to MAT-File. You can save a variable to a MAT-file from the Array Editor. Select File > Save and complete the resulting Save dialog box.
MATLAB now considers built-in files to be the same as other M-files on the search path.
Compatibility Considerations. MATLAB no longer considers built-in functions differently from any other M-files on the search path. MATLAB now looks for a given name first as a variable, then as an M-file in the current directory, and finally as an M-file on the search path. Previously MATLAB looked for a given name as a built-in function after looking for it as a variable.
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.
There is a new function, savepath, that saves the current search path to a file, pathdef.m, so that you can use the same search path in future sessions. Note that this function replaces path2rc.
Compatibility Considerations. The 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.
restoredefaultpath Function Added for Recover from Problems. There is a new function, restoredefaultpath, that helps redefine the search path file, pathdef.m, to include only files installed with MathWorks products. Use this function to recover from problems with the path. If that fails, run
restoredefaultpath; matlabrc
genpath Function Now Includes Empty Directories. The genpath function now includes empty directories in the generated path string.
which Function Now Shows Built-In Functions. The which function now displays the pathname for built-in functions, as well as for overloaded functions when only the overloaded functions are available
Finding Files and Content Within Files. From any desktop tool, select Edit > Find Files. Complete the resulting dialog box to find specified files or files containing specified text in the directories you choose. Double-click a file in the results listing to open it. For details, see Advanced Search for Files — Find Files Tool in the online documentation.

Preventing Accidental File Deletion. Use the new recycle function or the General preference for the delete function to send files you remove using the delete function to the Recycle Bin on Windows platforms, to the Trash Can on Macintosh platforms, or to a /tmp/MATLAB_Files_timestamp directory on UNIX platforms. You can then recover any accidentally deleted files from these locations.
Source Control Interface Features Accessible from Current Directory Browser. You can access source control system features from the Current Directory browser. Right-click a file or directory, and from the context menu, select Source Control and then select the source control function you want to use.
Open File Using External Application. To open a file using an external application, select Open Outside MATLAB from the context menu. For example, if you select myfile.doc, Open Outside MATLAB opens myfile.doc in the Microsoft Word application, assuming you have the .doc file association configured to launch Word.
Copy and Paste Directories. Using the Current Directory browser, you can now copy and paste directories, including the entries' contents.
Drag to Reorder Columns. As is true for all desktop tools, you can drag columns in the Current Directory browser to reorder them, or click a column head to sort by that column. For an item that does not fit in its column, you can hover over it to see the full name of the item.
Current Directory Text Field Does Not Display When Current Directory Browser is Docked. The current directory field appears in the Current Directory browser only when the Current Directory browser is undocked from the MATLAB desktop. When the Current Directory browser is docked in the MATLAB desktop, use the current directory text field in the desktop toolbar.
There are new tools accessible from the Current Directory browser for tuning and managing M-files. For details, see Visual Directory Tool in the Current Directory Browser and Directory Reports in the Current Directory Browser.
New features and changes introduced in this version are
If you are using the Help browser, view the Editor new features video demo to see highlights of the major new features.
Drag File into Editor. You can drag a file onto the Editor to open it. For example, drag a text file from Windows Explorer onto the Editor.
Automatically Remove Autosave Files — Preference Added. There is now an Editor/Debugger preference you can set to automatically remove autosave files when you close the source file. Select Preferences > Editor/Debugger > Autosave, and under Close options, select the Automatically delete autosave files check box.
Toggle Between Command Window and Editor/Debugger. To move from an Editor document to the Command Window, press Ctrl+0. To move back to the Editor document, press Ctrl+Shift+0.
Editor Remains Open with No Files Open. When you close the last open document in the Editor, the Editor remains open.
Automatic Reloading of Files When Changes Made Outside of MATLAB Software. When a file is open in the Editor and you open that same file outside of MATLAB and make changes to it, the Editor automatically updates the file to includes the changes you made outside the Editor. This only applies if you did not make any changes to the file in the Editor. If you want to be prompted before the Editor updates the file, clear the Editor/Debugger preference for automatically reloading files.
Open Files While Debugging Preference Moved to Debug Menu. In the previous version, you used a preference to automatically open files when debugging. Now, instead of using a preference, you select Open M-Files When Debugging from the Debug menu in any desktop tool.
With this item selected, when you run an M-file containing breakpoints, the file opens in the Editor/Debugger when MATLAB encounters a breakpoint.
Syntax Highlighting for Other Languages. The Editor now supports syntax highlighting for other languages, specifically ANSI C, C++, Java, and HTML. Use Editor language preferences to change the colors for the syntax highlighting.
Datatips Now Off By Default in Edit Mode. In edit mode, datatips are now off by default. Select the preference to display them in edit mode. Datatips display until you move the cursor. Datatips are always on in debug mode.
Vertical Line in Files. There is now a faint line at column 75, which serves as a useful reminder of where text would be cut off when printing the document. Remove the line or change the column at which the line appears using Editor/Debugger Display preferences.
Balance Delimiters Removed. The feature Text > Balance Delimiters has been removed.
Syntax Highlighting Default Colors Modified. The default colors for syntax highlighting M-files have been modified. Unterminated strings are now maroon, while terminated strings are now purple. This is the opposite of previous versions. Maroon is considered to be more of an "alerting" color, resembling the default of red for errors, which is the reason for the change. If you prefer the colors used in previous versions, change them using preferences — see M-File Syntax Highlighting Colors in the online documentation.
In addition, arguments in statements entered using command syntax rather than function syntax are highlighted as strings, emphasizing that variables in command syntax are passed as literal strings rather than as their values.
Change Case of Selected Text. To change the case of selected text, select the text and then press
Alt+U, U to change all text to upper case
Press Alt+U, L to change all text to lower case
Press Alt+U, R to change the case of each letter
Nested Function Indenting Supported. MATLAB now supports nested functions and the Editor provides preferences regarding how to indent them.
Overwrite Mode Supported. When you press the Insert key, text entry is done in overwrite mode and the cursor assumes a block shape. Press the Insert key again to return to insert mode.
You can create a block comment in an M-file using any text editor, that is, you can comment out contiguous lines of code. Type %{ on the line before the first line of the comment and %} following the last line of the comment. The lines in between are considered to be comments. Do not include any code on the lines with the block comment symbols. You can also nest block comments. See Commenting in M-File Using Any Text Editor for details.
Compatibility Considerations. Because of the new block comment symbols, if you have any files with lines that consist only of %{ and %}, they might be misinterpreted as block comment start and end symbols, and might cause errors in your file.
Find Files and Content Within Files. You can find directories, files, and content within multiple files. Select Edit > Find Files. For details, seeAdvanced Search for Files — Find Files Tool in the online documentation.
Incremental Search Now Indicates Direction and is Case Sensitive. The incremental search interface has been updated. It now indicates the search direction. It is also case sensitive when you enter uppercase letters in the search field.
Page setup options differ slightly from previous versions.
Conditional Breakpoints Supported. You can specify conditional breakpoints in an M-file. MATLAB only stops at the line with the breakpoint if the condition is met. Conditional breakpoints have a yellow breakpoint icon, which you can copy and paste to other lines.
Disable (Ignore) Breakpoints. You can disable standard and conditional breakpoints. MATLAB ignores a disabled breakpoint until you enable it again. A disabled breakpoint icon has an X through it.
Error Breakpoints Supported. Set error breakpoints for all files by selecting Debug > Stop If Errors/Warnings, and then completing the resulting dialog box. You can specify a message identifier for an error or warning breakpoint so that MATLAB stops only if it encounters the specified error or warning message.
Error Support Added to dbstop and dbclear. Enhancements to debugging functions include dbstop if caught error, dbclear if caught error, and dbclear if all error. The dbstop if all error option has been grandfathered and will not be supported in future versions. To specify a message identifier, use dbstop if error ID, dbstop if caught error ID, dbstop if warning ID, and the corresponding dbclear options. The dbstatus function has been updated to reflect the changes to dbstop and dbclear.
dbstop Function Supports Nested and Anonymous Functions. The dbstop function has been updated to support nested and anonymous functions. See the dbstop reference page for details. You cannot use the Editor/Debugger GUI to set breakpoints in anonymous functions, but must use the dbstop function instead. Note that when you save a file in the Editor/Debugger that contains breakpoints in anonymous functions, those breakpoints are cleared. They are also cleared when you run an unsaved file from the Editor/Debugger GUI, because running first saves the file.
Notation for Reporting Path Modified. MATLAB now uses a new notation for reporting the path of functions, subfunctions, and nested functions. As an example, A/B>C/D means directory A, file B, (sub)function C within the file B, and nested function D within C.
The dbstack function has been updated to supported nested functions. See the dbstack function reference page for more information.
Compatibility Considerations. 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
file, the file in which the function appears
name, the function name within the file
line, the line number in the function
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').
The dbstatus function has been updated to support conditional breakpoints. See the dbstatus function reference page for more information.
Compatibility Considerations. 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.
You can access useful tools for M-files from the Editor/Debugger. From the Tools menu, select Check Code with M-Lint, Show Dependency Report, or Open Profiler. For details about these tools, see Tuning and Managing M-Files.
In the Editor, cell features allow you to easily make changes to values in a section of an M-file to readily see the impact of the changes. First, you define cells in a file, then evaluate a cell or cells, iterate values in the cell, and then reevaluate the cell(s). Cells also allow you to publish M-file code and results to popular formats, such as HTML and for the Microsoft Word application. For details, see Using Cells for Rapid Code Iteration and Publishing Results in the online documentation.
Demo of New Rapid Code Iteration Features. If you are using the Help browser, watch the new Rapid Code Iteration Using Cells video demo for an overview of the major functionality.
Compatibility Considerations. Because of the new symbols for cell publishing, if you have any files with lines that consist only of %%, 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.
Add New Line to End of File Upon Save. There is now a preference that allows you to add a new line to the end of a file upon saving.
Open M-Files When Debugging Preference Moved. The feature that instructs M-files to open automatically when debugging is no longer in preferences but is now accessible from the Debug menu in all desktop tools.
Use these tools to fine-tune and manage your M-files, and to prepare them for distribution to other users. New features introduced in this version are organized by these topics:
The Visual Directory view of the Current Directory provides useful information about the M-files in a directory. It can help you polish M-files before providing them to others to use.
Click the Show Visual Directory button
on the Current Directory
browser toolbar. Toe view changes — see the following figure
for an example. To return to the Classic view of the Current Directory
browser, click the button
again.
![]()
In the Current Directory browser, select View > Directory Reports and select the type of report to run. The report appears as an HTML document in the MATLAB Web browser. A summary of the reports follows. For more information, see Using M-File Reports in the online documentation.
M-Lint Code Check Report. The M-Lint report displays potential errors and problems, as well as opportunities for improvement in your code. For example, one common message is that a variable is defined but never used. You can also produce an M-Lint report for specified files using the mlint function, or run the M-Lint report from the Editor/Debugger or Profiler.

TODO/FIXME Report. The TODO/FIXME report shows M-files that contain text strings you included as notes to yourself, such as TODO.
Help Report. The Help report presents a summary view of the help component of your M-files. Use this information to help you identify files of interest or to help you identify files that lack help information.
Contents Report. The Contents report displays information about the integrity of the Contents.m file for the directory. A Contents.m file is a file you create that provides a brief description for relevant M-files in the directory. When you type help followed by the directory name, such as help mydemos, MATLAB displays the information in the Contents.m file. Use the Contents report to help you clean up and maintain your Contents.m file. If there is no Contents.m file, use the Contents report to create one.
Dependency Report. The Dependency report shows all M-files called by each M-file, or in other words, shows all children of each M-file. Use this report to determine all files you need to provide to someone who wants to run an M-file.
File Comparison Report. The File Comparison report identifies the differences between two files in the current directory. For example, you can easily compare an autosaved version of a file to the latest version of the file.
Coverage Report. Run the Coverage report after you run the Profile report to identify what percentage of the file was executed when it was profiled.
Access Profiler from Desktop or Editor/Debugger. Access the Profiler from the Desktop menu or the Editor/Debugger Tools menu.
Profiler Summary Report. In the Profiler summary report, click a column name to sort the report by that column.
Profiler Detail Report. In the Profiler detail report, specify options to show busy lines (lines where the most time was spent) and to show the file listing (the M-file code). Other options allow you to run the M-Lint Code Check report, which provides messages for improving the file, and the Coverage report, which indicates how much of the file was exercised during profiling. For more information about these reports, see Using M-File Reports in the online documentation. After selecting an option in the detail report, click Refresh to update the report. The performance acceleration information in the detail report has been removed.
profile Function. The profile function no longer supports the -detail flag's builtin option.
Compatibility Considerations. The profile report previously supported in MATLAB is no longer available. This was the report you generated by running profile report or profreport. There is a new function, profsave that replaces profreport. The profsave function saves a static version of the HTML profile report.
Because the profile function no longer supports the -detail flag's builtin option, the only remaining option is mmex, which is also the default. If you continue to specify the builtin option on the -detail flag, the profile function will behave as though you specified the mmex option, and no built-in functions are profiled.
In MATLAB version 6.5 (R13) and MATLAB version 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 box.
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.
This represents a change to how MATLAB interfaced with source control systems in prior versions.
You can publish M-files to HTML, XML, LaTeX, and to formats for Microsoft Word and Microsoft® PowerPoint® applications. The published documents can include code, formatted comments, and results, such as graphs in Figure windows. Use cells and cell publishing features in the Editor/Debugger. For details, see Overview of Publishing M-Files in the online documentation.
Demo of New Publishing Features. If you are using the Help browser, watch the new Publishing M Code from the Editor video demo for an overview of the major functionality.
If you currently use Notebook, consider using cell publishing from the Editor instead, which provides more features and flexibility for most applications.
Notebook has been improved with regards to speed and stability, with a few minor changes in operation. The improvements were available via a Web-downloadable update to MATLAB version 6.5, and are now part of MATLAB version 7.
![]() | Version 7 (R14) MATLAB Software | Mathematics, MATLAB Version 7 (R14) | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |