Skip to Main Content Skip to Search
Product Documentation

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.

See Also

instdisp | instfields | insttypes

  


Free Interactive Computational Finance CD

View demos and recorded presentations led by industry experts.

Now On Demand
Network with industry peers and learn the latest applications of the leading software product for computational finance.

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