MATLAB POLYSPACE 7 Instalační příručka Strana 423

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 618
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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
Zobrazit stránku 422
1 2 ... 418 419 420 421 422 423 424 425 426 427 428 ... 617 618

Komentáře k této Příručce

Žádné komentáře