MATLAB POLYSPACE 7 Guia de Instalação Página 423

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
Vista de página 422
Debugging Process a nd Features
Viewing Values as Datatips in the Editor/Debugger
In the Editor/Debugger, position the pointer to the left of a var iable on that
line. Its current value appears this is called a datatip, which is like a
tooltip for data. The datatip stays in view until you m ove the pointer. If you
have trouble getting the datatip to appear, click in the line and then move the
pointer next to the variable.
A related function is
datatipinfo.
Datatips in the Ex ample. Position the p ointe r over
n in line 9 of collatz.
The datatip shows that
n =2,asexpected.
V iewing Values in the Command Window
You ca
n examine values while in debug mode at the
K>> prompt. To see the
varia
bles currently in the workspace, use
who.Typeavariablenameinthe
6-115
Vista de página 422
1 2 ... 418 419 420 421 422 423 424 425 426 427 428 ... 617 618

Comentários a estes Manuais

Sem comentários