MATLAB POLYSPACE 7 Guía de instalación Pagina 145

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 618
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 144
Running Functions and Programs, and Entering Variables
Running Functions and Programs, and Entering Variables
In this section...
“Running Statements at the Command Line Prompt” on page 3-7
“Running External Programs” on page 3-9
“Evaluating or Opening a S electio n” on page 3-12
“Displaying Hyperlinks in the Command Window” on page 3-13
Running Statements at the Command Line Prompt
Entering Variables and Runn ing Functions
At the prompt, enter data and run functions. For example, to create A,a
3-by-3 matrix, type
A=[123;456;7810]
When you press the Enter or Return key after typing the line, MATLAB
responds with
A=
123
456
7810
To run a function, type the function including all arguments and press En ter
or Return. MATLAB displays the result. For example, type
magic(2)
and MATLAB returns
ans =
13
42
3-7
Vista de pagina 144
1 2 ... 140 141 142 143 144 145 146 147 148 149 150 ... 617 618

Comentarios a estos manuales

Sin comentarios