| xPC Target | ![]() |
Start execution of a scope on a target PC
Syntax
start(scope_object_vector)scope_object_vector.start+scope_object_vectorstart(getscope((target_object,signal_index_vector))
Arguments
Description
Method for a scope object. Starts a scope on the target PC represented by a scope object on the host PC. This method does not necessarily start data acquisition, which depends on the trigger settings. Before using this method, a scope must be created. To create a scope, use the target object method addscope or add xPC Target scope blocks to your Simulink model.
Examples
Start one scope with the scope object sc1.
somescopes = getscope(tg,[1,2]) or somescopes= tg.getscope([1,2]) start(somescopes) or somescopes.start
sc1 = getscope(tg,1) or sc1 =tg.getscope(1) sc2 = getscope(tg,2) or sc2 = tg.getscope(2) start([sc1,sc2])
allscopes = getscope(tg) or allscopes = tg.getscope start(allscopes) or allscopes.start or +allscopes
See Also
The xPC Target target object methods getscope and stop. The scope object method stop.
| set | stop | ![]() |