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

  • 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 417
6 Editing and Debugging M-Files
Breakpoints are gray for either of these reasons:
Thefilehasnotbeensavedsincechangesweremadetoit. Savethefile
to make breakpoints valid. The gray breakpoints beco me red, indicating
they are now valid. Any gray breakpoints that were entered at invalid
breakpoint lines automatically move to the n ex t valid breakpo int line with
thesuccessfulfilesave.
T he re is a syntax error in the file. When you set a breakpoint, an error
message appears indicating where the syntax error is. Fix the syntax error
and save the file to make breakpoints valid.
Function Alternative for Setting Breakpoints
To set a breakpoint using the debugging functions, use dbstop.Forthe
example, type
dbstop in collatzplot at 10
dbstop in collatzplot at 11
dbstop in collatzplot at 12
6-110
Zobrazit stránku 417
1 2 ... 413 414 415 416 417 418 419 420 421 422 423 ... 617 618

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

Žádné komentáře