MATLAB EMBEDDED IDE LINK 4 - FOR USE WITH TEXAS INSTRUMENTS CODE COMPOSER STUDIO Guide de l'utilisateur Page 363

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 575
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 362
run
Purpose Execute program loaded on processor
Syntax run(cc,'state',timeout)
run(cc,'main')
run(cc,'tofunc','functionname')
Description run(cc,'state',timeout) starts to execute the program loaded on the
processor referred to by
cc. Program execution starts f rom the location
of the program counter. After starting program execution, the input
argument
state determines when you regain program control.
To dene the action of
run, state accepts strings that set the state
of the processor:
state String Run Action
'main'
Reset the program counter then run the
program until the PC reaches
main.Stopat
main.
'run'
Start to execute the program. Wait until the
program is running, then return. The program
continues to run. If you omit the
option
argument, run defaults to this setting. Sets
the processor to the running state and returns.
This is useful when you want to continue to
work in MATLAB software while the processor
executes a program.
'runtohalt'
Start to execute the program. Wait to return
until the program encounters a bre akpoint or
the p rogram execution terminates. Sets the
processor to the running state and returns
when the processor halts.
7-141
Vue de la page 362
1 2 ... 358 359 360 361 362 363 364 365 366 367 368 ... 574 575

Commentaires sur ces manuels

Pas de commentaire