Mercurial > hg > smallbox
comparison examples/Automatic Music Transcription/SMALL_AMT_DL_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 |
---|---|
208 ylabel('Note Number'); | 208 ylabel('Note Number'); |
209 end | 209 end |
210 | 210 |
211 FS=filesep; | 211 FS=filesep; |
212 | 212 |
213 [pathstr1, name, ext, versn] = fileparts(which('SMALLboxSetup.m')); | 213 [pathstr1, name, ext] = fileparts(which('SMALLboxSetup.m')); |
214 cd([pathstr1,FS,'results']); | 214 cd([pathstr1,FS,'results']); |
215 | 215 |
216 [filename,pathname] = uiputfile({' *.mid;' },'Save KSVD result midi'); | 216 [filename,pathname] = uiputfile({' *.mid;' },'Save KSVD result midi'); |
217 if filename~=0 writemidi(SMALL.solver(1).reconstructed.midi, [pathname,FS,filename]);end | 217 if filename~=0 writemidi(SMALL.solver(1).reconstructed.midi, [pathname,FS,filename]);end |
218 | 218 |