User`s guide

Using Target Objects
6-17
Using the Method Syntax with Target Objects
Use the method syntax to run a target object method. The syntax
method_name(target_object, argument_list) can be replaced with:
target_object.method_name(argument_list)
Unlike properties, for which partial but unambiguous names are permitted,
method names must be entered in full, and in lowercase. For example, to add a
scope of type target with a scope index of
1:
1 In the MATLAB window, type
tg.addscope(’target’,1)
2 Alternately, you could type
addscope(tg, ’target’, 1)