stop (scope object) - Stop execution of scope on target PC

Syntax

MATLAB® command line

stop(scope_object_vector)
scope_object.stop
-scope_object
stop(getscope(target_object, signal_index_vector))

Target PC command line

stopscope scope_index
stopscope 'all'

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 scope objects. Stops the scopes represented by the scope objects.

Examples

Stop one scope represented by the scope object sc1.

stop(sc1) or sc1.stop or -sc1

Stop all scopes with a scope object vector allscopes created with the command

allscopes = getscope(tg) or allscopes = tg.getscope.
stop(allscopes) or allscopes.stop or -allscopes

or type

stop(getscope(tg)) or stop(tg.getscope)

See Also

The xPC Target™ target object methods getscope, stop (target application object), and start (target application object). The scope object method start (scope object).

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS