This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.


System object: dsp.AudioRecorder
Package: dsp

Number of expected inputs to step method

    Note:   The dsp.AudioRecorder object will be removed in a future release. Existing instances of the object continue to run. For new code, use the audioDeviceReader object from Audio System Toolbox™ instead.


N = getNumInputs(H)


N = getNumInputs(H) returns the number of expected inputs, N, to the step method

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).

Was this topic helpful?