MATLAB POLYSPACE 7 Guida di Installazione Pagina 433

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
Vedere la pagina 432
Debugging Process a nd Features
The following figure shows the lengths of the Collatz series for n =1
through
n =500.
Running Sections in M-Files That Have Unsaved Changes
It is a good practice to make changes to an M -file after y ou quit debugging,
and to save the changes and then run the file. Otherwise, you might get
unexpected results. But there are situations where you might want to
experimentduringdebugging,tomakeachangetoapartofthefilethathas
not yet run, and then run the remainder of the file without saving the change.
To do this, while stopped at a breakpoint, make a change to a part of the
file that has not yet run. Breakpoints will turn gray, indicating they are
invalid. Then select all o f the code after the breakpoint, right-click, a nd
6-125
Vedere la pagina 432
1 2 ... 428 429 430 431 432 433 434 435 436 437 438 ... 617 618

Commenti su questo manuale

Nessun commento