Interactively identify MIDI control
[ctl device] = midiid returns the control number and device name of the MIDI control moved by the user. Call the function at the MATLAB command prompt and then move the control you want to identify on the MIDI control surface. The function detects which control you move and returns the corresponding control number and device name that specify that control.
ctl is an integer-valued double-precision number. Each control on the MIDI device has a specific integer assigned to it by the device manufacturer.
Data Types: double
device is a character string assigned by the device manufacturer or the host operating system.
Data Types: char