MATLAB XPC TARGET 4 - API GUIDE Guide de l'utilisateur Page 331

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 372
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 330
set (target object)
14-87
The function set typically does not return a value. However, if called with an
explicit return argument, 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 ShowSignals 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'
StopTime
Time when the target application stops
running. Values are in seconds. The
original value is set in the
Simulation
menu
Configuration Parameters dialog.
When the
ExecTime reaches the StopTime,
the application stops running.
Yes
ViewMode
Display either all scopes or a single scope
on the target PC. Value is
'all' or a single
scope index. This property is active only if
the environment property
TargetScope is
set to
enabled.
Yes
Property Description Writable
Vue de la page 330
1 2 ... 326 327 328 329 330 331 332 333 334 335 336 ... 371 372

Commentaires sur ces manuels

Pas de commentaire