xPC Target    
start

Start execution of a scope on a target PC

Syntax

MATLAB command line

Target PC command line

Arguments

target_object
Name of a target object.
scope_object_vector
Name of a single scope object, name of vector of scope objects, list of scope object names in a vector form [scope_object1, scope_object2], or the target object method getscope, which returns a scope_object vector.
signal_index_vector
Index for a single scope, or list of scope indices in vector form.
scope_index
Single scope index.

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.

or type

Start two scopes.

or type

or type

Start all scopes:

or type

See Also

The xPC Target target object methods getscope and stop. The scope object method stop.


  set stop