Documentation Center

  • Trial Software
  • Product Updates

getNumInputs

System object: dsp.ArrayPlot
Package: dsp

Number of expected inputs to step method

Syntax

N = getNumInputs(H)

Description

N = getNumInputs(H) returns the number of expected inputs, N, to the step method. N equals the value of the NumInputPorts property.

The getNumInputs method returns a positive integer that is the number of expected inputs (not counting the object itself) to the step method. You must call the step method with the number of input arguments equal to the result of getNumInputs(H).

Was this topic helpful?