While working in MATLAB, you issue commands that create variables and call functions. For an introduction, see Enter Statements in Command Window.
|Most recent answer|
|Clear Command Window|
|Log Command Window text to file|
|Set output display format|
|Send cursor home|
|Determine whether input is MATLAB keyword|
|Control paged output in Command Window|
|Select the Command Window|
|Open Command History window|
|Output display format in Command Window|
- Enter Statements in Command Window
Enter individual statements in the Command Window while working in MATLAB.
- Format Output
Format the output display in the Command Window and the Live Editor.
- Calling Functions
MATLAB provides a large number of functions that perform computational tasks. To call a function, enclose its input arguments in parentheses.
- Stop Execution
Stop the execution of a MATLAB command.
- Rerun Favorite Commands
A MATLAB favorite command is an easy way to run a group of MATLAB commands that you use regularly.
- Write to a Diary File
To keep an activity log of your MATLAB session, use the
- Find Text in Command Window or History
Search text currently in the Command Window or Command History Window.
- Set Command Window Preferences
Specify appearance and behavior of the Command Window and its output.
- Set Command History Preferences
Specify how often to save automatically the history file and the types of statements to exclude.
- Set Keyboard Preferences
Settings for delimiter matching in the Command Window, Editor, and Live Editor.
Troubleshoot error message related to undefined function or variable.