edit |
Edit or create file |
Create and open files, arrange document windows, and set preferences.
Some entries appear in different colors in the Command Window and the Editor to help you identify MATLAB elements. This is known as syntax highlighting.
Check Code for Errors and Warnings
Use the MATLAB Code Analyzer to check your code for coding problems automatically.
Use indentation, text-width indication, and code folding to make your code easier to read.
Find and Replace Text in Files
Find and replace text in the current file or multiple files. Automatically rename functions or variables.
Go to a specific location in a file, such as a line number or function definition, set bookmarks, navigate backward and forward within the file, and open a file or variable from within a file.
Display Two Parts of a File Simultaneously
You can simultaneously display two different parts of a file in the Editor by splitting the screen display. This feature makes it easy to compare different lines in a file or to copy and paste from one part of a file to another.
Annotating a file makes it easier to find areas of your code that you intend to improve, complete, or update later.
Generate a report that identifies potential errors, problems, and opportunities for improvement in your code.
Use Editor/Debugger preferences to customize the Editor.
Set Code Analyzer preferences to enable or disable Code Analyzer features and specify message indicator preferences.