User`s guide
set
6-34
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.
sc1 = getscope(tg,1)
set(sc1)
xPC Target Object:
Writable Properties
StopTime
SampleTime
ViewMode
LogMode : [0 | 1]
ShowParameters : [On | {Off}]
ShowSignals : [On | {Off}]
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’
See Also The xPC Target target object methods get. The scope object methods get and
set. The built in MATLAB functions get and set. The xPC target M-file demo
scripts listed in “xPC Target Demos” on page 5-21.