Main Content

getAllInstruments

Get information on instruments added to target object

Since R2021b

Description

example

getAllInstruments(target_object) returns an Instrument array that has properties AxesTimeSpan, AxesTimeSpanOverrun, Application, and ModelName. The array provides information on all instruments that you have added to the target object.

Examples

collapse all

Get all instruments for target object tg.

getAllInstruments(tg)
ans = 

  3×1 Instrument array with properties:

    AxesTimeSpan
    AxesTimeSpanOverrun
    Application
    ModelName

Input Arguments

collapse all

Provides access to methods that manipulate the target computer properties.

Example: tg

Version History

Introduced in R2021b

See Also