SAVETOFILE save svm classifier to a file Inputs: cl: trained svm classifier fileName : name of the binary
0001 function saveToFile( cl, fileName ) 0002 %SAVETOFILE save svm classifier to a file 0003 % 0004 % Inputs: 0005 % cl: trained svm classifier 0006 % fileName : name of the binary 0007 0008 fid = fopen(fileName,'wb'); 0009 saveToFid(cl, fid); 0010 fclose(fid); 0011 0012 end 0013