Financial Derivatives Toolbox    
instlength

Count instruments

Syntax

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.

See Also

instdisp, instfields, insttypes


  instgetcell instoptbnd