instlength

Count instruments

Syntax

NInst = instlength(InstSet)

Arguments

InstSet

Variable containing a collection of instruments. Instruments are classified by type; each type can have different data fields. The stored data field is a row vector or string for each instrument.

Description

NInst = instlength(InstSet) computes NInst, the number of instruments contained in the variable, InstSet.

Was this topic helpful?