MATLAB XPC TARGET RELEASE NOTES Guide de l'utilisateur Page 452

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 531
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
Vue de la page 451
1 2 ... 447 448 449 450 451 452 453 454 455 456 457 ... 530 531

Commentaires sur ces manuels

Pas de commentaire