User`s guide

R2007b
19-16
Tab completion
Debugging M-files
Evaluating selections
Accessing source control features
Docking the tool in the MATLAB desktop
Using cell features for rapid code iteration or publishing
Compatibility Considerations
Some users have preferred the stand-alone Editor to the MATLAB Editor/Debugger
because of slightly better startup performance and because it does not require a
MATLAB license. For those situations, you can use any text editor you have, such as the
UltraEdit
®
application from IDM Computer Solutions, or the GNU Emacs software.
Determine the McCabe (Cyclomatic) Complexity of an M-File
The cyc option to the mlint function enables you to determine the McCabe complexity
(also referred to as the cyclomatic complexity) of an M-file. Higher McCabe complexity
values indicate higher complexity, and there is some evidence to suggest that programs
with higher complexity values are more likely to contain errors. Frequently, you can
lower the complexity of a function by dividing it into smaller, simpler functions. In
general, smaller complexity values indicate programs that are easier to understand and
modify. Some people advocate splitting up programs that have a complexity rating over
10. See mlint for syntax and an example.
Publishing Results
New features and changes introduced in Version 7.5 (R2007b) are:
“Notebook and Word for Office 2007” on page 19-16
“Text Markup in Cells for Publishing” on page 19-17
“Preference to Restrict Lines of Output” on page 19-17
Notebook and Word for Office 2007
Notebook now supports Microsoft Word for Office 2007. For details, see Creating a
MATLAB Notebook to Publish to Microsoft Word.