% : vim: set filetype=matlab :
function makeSVMWeights( SVMFile, is_silent, prefix, certVersion )

eval( ['load ', SVMFile] );

cd SVMWeights;
addpath( '../' );

date=datestr(now);

for ni=1:9
    for mu=1:8
        if( is_silent == 1 )
            [msg,err]=sprintf( 'Exporting SVMWEight ni=%d mu=%d', ni, mu );
            disp( msg );
        end

        SVMExport( squeeze(W(ni,mu,:,:)), ni, mu, SVMFile, date, certVersion, prefix );
    end
end
