comparison toolboxes/MIRtoolbox1.3.2/MIRToolbox/@mirmidi/display.m @ 0:cc4b1211e677 tip

initial commit to HG from Changeset: 646 (e263d8a21543) added further path and more save "camirversion.m"
author Daniel Wolff
date Fri, 19 Aug 2016 13:07:06 +0200
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:cc4b1211e677
1 function display(m)
2 % MIRMIDI/DISPLAY display of MIDI representation
3
4 figure
5 disp(' ');
6 d = get(m,'Data');
7 n = get(m,'Name');
8 for i = 1:length(d)
9 pianoroll(d{i});
10 fig = get(0,'CurrentFigure');
11 va = inputname(1);
12 if isempty(va)
13 va = 'ans';
14 end
15 disp([va,' is the MIDI representation related to file ',n{i},...
16 ' is displayed in Figure ',num2str(fig),'.']);
17 end
18 disp(' ');