Saisie des commandes
Lorsque vous travaillez dans MATLAB, vous entrez des commandes qui créent des variables et appellent des fonctions. Pour une introduction, consultez Enter Statements in Command Window.
Fonctions
ans | Most recent answer |
clc | Effacer la fenêtre de commande |
diary | Log Command Window text to file |
format | Set output display format |
home | Send cursor home |
iskeyword | Determine if input is MATLAB keyword |
more | Control paged output in Command Window |
commandwindow | Enter statements at the command line |
commandhistory | View previously run statements |
Objets
DisplayFormatOptions | Output display format in Command Window (depuis R2021a) |
Rubriques
- 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.
- Appel de fonctions
MATLAB propose de nombreuses fonctions qui exécutent des tâches de calcul. Pour appeler une fonction, mettez ses arguments d’entrée entre parenthèses.
- Arrêter l’exécution
Arrête l’exécution d’une commande MATLAB.
- 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
Use the
diary
function to keep an activity log of your MATLAB session. - Find Text in Command Window or History
Search text currently in the Command Window or Command History.
- Modify Command Window Settings
Specify appearance and behavior of the Command Window and its output.
- Modify Command History Settings
Specify how often to save statements to the Command History and the types of statements to exclude.
- Modify Keyboard Settings
Settings for delimiter matching in the Command Window, Editor, and Live Editor.
Résolution des problèmes
Resolve Error: Unrecognized Function or Variable
Troubleshoot error message related to unrecognized function or variable.