La traducción de esta página está obsoleta. Haga clic aquí para ver la última versión en inglés.
Introducción de comandos
Mientras trabaja en MATLAB, usted emite comandos que crean variables y llaman a funciones. Para ver una introducción, consulte Enter Statements in Command Window.
Funciones
ans | Most recent answer |
clc | Clear Command Window |
diary | Log Command Window text to file |
format | Establezca el formato de visualización de salida de la ventana de comandos |
home | Send cursor home |
iskeyword | Determine whether input is MATLAB keyword |
more | Control paged output in Command Window |
commandwindow | Select the Command Window |
commandhistory | Open Command History window |
Objetos
DisplayFormatOptions | Output display format in Command Window |
Temas
- 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.
- Llamada de funciones
MATLAB ofrece una amplia gama de funciones que realizan tareas computacionales. Para llamar a una función, encierre entre paréntesis sus argumentos de entrada.
- Detención de la ejecución
Detenga la ejecución de un comando de MATLAB.
- Rerun Favorite Commands
A MATLAB favorite command is an easy way to run a group of MATLAB commands that you use regularly.
- Escribir en un archivo diary
Para llevar un registro de la actividad de la sesión de MATLAB, use la función
diary
. - 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.
Solución de problemas
Resolve Error: Undefined Function or Variable
Troubleshoot error message related to undefined function or variable.