comparison examples/Automatic Music Transcription/SMALL_AMT_KSVD_Err_test.m @ 186:9c418bea7f6a bug_386

Addresses Bug #386: removed the 4th output variable (versn) in all calls of function fileparts.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Thu, 09 Feb 2012 17:25:14 +0000
parents f42aa8bcb82f
children
comparison
equal deleted inserted replaced
165:775caafd5651 186:9c418bea7f6a
128 128
129 subplot (3,1,3); plot(Edata(:), [AMT_res(:).FP], 'ro-'); 129 subplot (3,1,3); plot(Edata(:), [AMT_res(:).FP], 'ro-');
130 title('False Positives vs Edata'); 130 title('False Positives vs Edata');
131 131
132 FS=filesep; 132 FS=filesep;
133 [pathstr1, name, ext, versn] = fileparts(which('SMALLboxSetup.m')); 133 [pathstr1, name, ext] = fileparts(which('SMALLboxSetup.m'));
134 cd([pathstr1,FS,'results']); 134 cd([pathstr1,FS,'results']);
135 [filename,pathname] = uiputfile({' *.mid;' },'Save midi'); 135 [filename,pathname] = uiputfile({' *.mid;' },'Save midi');
136 if filename~=0 writemidi(BLmidi, [pathname,FS,filename]);end 136 if filename~=0 writemidi(BLmidi, [pathname,FS,filename]);end
137 [filename,pathname] = uiputfile({' *.fig;' },'Save figure TP/FN/FP vs lambda'); 137 [filename,pathname] = uiputfile({' *.fig;' },'Save figure TP/FN/FP vs lambda');
138 if filename~=0 saveas(resFig, [pathname,FS,filename]);end 138 if filename~=0 saveas(resFig, [pathname,FS,filename]);end