MATLAB XPC TARGET RELEASE NOTES User's Guide Page 452

  • Download
  • Add to my manuals
  • Print
  • Page
    / 531
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 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
Page view 451
1 2 ... 447 448 449 450 451 452 453 454 455 456 457 ... 530 531

Comments to this Manuals

No comments