MATLAB XPC TARGET RELEASE NOTES Guia do Utilizador Página 307

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
Vista de página 306
Target PC Commands
Target PC
Command Description and Syntax MATLAB Equivalent
start
Start the target application
currently loaded on the target
PC.
Syntax:
start
tg.start
or +tg
stop
Stop the target application
currently running on the target
PC.
Syntax:
stop
tg.stop
or -tg
reboot
Reboot the target PC.
Syntax:
reboot
tg.reboot
Target Object Property Commands
When you are using the target PC command-line interface, target object
properties are limited to parameters,signals,stoptime,andsampletime.
Note the difference b etween a parameter index (0, 1, . . .) and a parameter
name (P0, P1, . . .).
The following table lists the syntax forthetargetcommandsthatyoucan
use to manipulate target object properties. The MATLAB equivalent syntax
is shown in the right column, and the targ et object name
tg is used as an
example for the MATLAB methods.
Target PC
Command Description and Syntax MATLAB Equivalent
getpar
Display the value of a
block p aram ete r using the
parameter index.
Syntax:
getpar
parameter_index
get(tg, 'parameter_name'
)
setpar
Change the value of a
block p aram ete r using the
parameter index.
set(tg, 'parameter_name',
number
)
16-3
Vista de página 306
1 2 ... 302 303 304 305 306 307 308 309 310 311 312 ... 530 531

Comentários a estes Manuais

Sem comentários