System object: dsp.PeakToPeak
Number of expected inputs to the step method
N = getNumInputs(H)
N = getNumInputs(H) returns the number of expected inputs, N, to the step method for the peak-to-peak object H.
The getNumInputs method returns a positive integer that is the number of expected inputs (not counting the object itself) to the step method. This value will change if you alter any properties that turn inputs on or off. You must call the step method with the number of input arguments equal to the result of getNumInputs(H).