Mercurial > hg > smallbox
comparison examples/MajorizationMinimization tests/SMALL_AMT_DL_test_KSVD_MM.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 | 855025f4c779 |
children |
comparison
equal
deleted
inserted
replaced
165:775caafd5651 | 186:9c418bea7f6a |
---|---|
252 ylabel('Note Number'); | 252 ylabel('Note Number'); |
253 end | 253 end |
254 | 254 |
255 FS=filesep; | 255 FS=filesep; |
256 | 256 |
257 [pathstr1, name, ext, versn] = fileparts(which('SMALLboxSetup.m')); | 257 [pathstr1, name, ext] = fileparts(which('SMALLboxSetup.m')); |
258 cd([pathstr1,FS,'results']); | 258 cd([pathstr1,FS,'results']); |
259 | 259 |
260 [filename,pathname] = uiputfile({' *.mid;' },'Save KSVD result midi'); | 260 [filename,pathname] = uiputfile({' *.mid;' },'Save KSVD result midi'); |
261 if filename~=0 writemidi(SMALL.solver(1).reconstructed.midi, [pathname,FS,filename]);end | 261 if filename~=0 writemidi(SMALL.solver(1).reconstructed.midi, [pathname,FS,filename]);end |
262 | 262 |