Interactively identify MIDI control
midiid function will be removed from DSP System
a future release. Existing instances of the function continue to run.
For new code, use the
midiid function from Audio System
[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,dev] = midiid; Move the control you wish to identify; type ^C to abort. Waiting for control message...
ctl = 1002 dev = nanoKONTROL
ctl— Number associated with control being moved
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.
device— Name of device
device is a character string assigned by
the device manufacturer or the host operating system.