%% Define and Send MIDI Messages to Device
% midisend enables you to combine the definition and sending of a midimsg into a single function call. Send middle C on channel 3 with velocity 64.

mididevinfo
device = mididevice('USB Uno MIDI Interface')

%

midisend(device,'NoteOn',3,60,64)

% Copyright 2012 The MathWorks, Inc.