MATLAB XPC TARGET RELEASE NOTES Guida Utente Pagina 452

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
Vedere la pagina 451
set (target application object)
The function set typically does not return a value. How eve r , if called
with an explicit return arg u ment, for example,
a=set(target_object,
property_name, property_value), it returns the value of the
properties after the indicated settings have been made.
Examples Get a list of writable properties for a scope object.
set(tg)
ans =
StopTime: {}
SampleTime: {}
ViewMode: {}
LogMode: {}
ShowParameters: {}
ShowSignals: {}
Change the property ShowSign als to on.
tg.set('showsignals', 'on') or set(tg, 'showsignals', 'on')
As an alternative to the method set, use the target object property
ShowSignals. In the MATLAB window, type
tg.showsignals ='on'
See Also xPC Target target object method get (target application o bject).
Scope object methods
get (scope object) and set (scope object).
Built- in M ATLAB functi o ns
get and se t.
xPC Target demo scripts listed in “xPC Target Demos” on page 6-9.
18-128
Vedere la pagina 451
1 2 ... 447 448 449 450 451 452 453 454 455 456 457 ... 530 531

Commenti su questo manuale

Nessun commento