User`s guide
2 Targets and Scopes in the MATLAB Interface
2-6
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,
you must enter method names 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 Alternatively, you can type
addscope(tg, 'target', 1)