This is machine translation

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

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


Interactively identify MIDI control


[controlNumber,deviceName] = midiid



[controlNumber,deviceName] = midiid returns the control number and device name of the MIDI control you move. Call the function and then move the control you want to identify. The function detects which control you move and returns the control number and device name that specify that control.


collapse all

Call midiid and then move the control you want to identify on the MIDI device you want to identify.

[ctl,dev] = midiid;
Move the control you wish to identify; type ^C to abort.
Waiting for control message...
ctl =
dev =

Output Arguments

collapse all

MIDI device control number, specified as an integer. The device manufacturer assigns the value to the control for identification purposes.

MIDI device name assigned by the device manufacturer or host operating system, specified as a string.

Was this topic helpful?