MATLAB XPC TARGET RELEASE NOTES Guida Utente Pagina 175

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
Vedere la pagina 174
Target PC C ommand-Line Inter face
2 In the Cmd box, ty pe a target PC com mand. For e xample, to start yo u r
target application, type
start
3 To stop the application, type
stop
Once the command window is active, you do not have to reactivate it before
typing the next command.
Manipulating Target Object Proper ties from the
Target PC
The xPC Target softw are uses a target object to represent the target kernel
and your target application. This section shows s ome of the com mon tasks
that you use with target objects and their properties.
Thesecommandscreateatemporarydifferencebetweenthebehaviorofthe
target application and the properties of the target object. The next time you
access the target object, the p roperties are updated from the target PC.
1 On the ta r get PC keyboard, press C .
The target PC activates the command window.
2 Type a target command. For example, to change the frequency of the signal
generator (parameter 1) in the model
xpcosc,type
setpar 1=30
The command window displays a message to indicate that the new
parameter has registered.
System: p[1] is set to 30.00000
3 Check the value of parameter 1. For example, type
p1
8-3
Vedere la pagina 174
1 2 ... 170 171 172 173 174 175 176 177 178 179 180 ... 530 531

Commenti su questo manuale

Nessun commento