wolffd@0: function display(m) wolffd@0: % MIRMIDI/DISPLAY display of MIDI representation wolffd@0: wolffd@0: figure wolffd@0: disp(' '); wolffd@0: d = get(m,'Data'); wolffd@0: n = get(m,'Name'); wolffd@0: for i = 1:length(d) wolffd@0: pianoroll(d{i}); wolffd@0: fig = get(0,'CurrentFigure'); wolffd@0: va = inputname(1); wolffd@0: if isempty(va) wolffd@0: va = 'ans'; wolffd@0: end wolffd@0: disp([va,' is the MIDI representation related to file ',n{i},... wolffd@0: ' is displayed in Figure ',num2str(fig),'.']); wolffd@0: end wolffd@0: disp(' ');