Home > @SVMClassifier > saveToFile.m

saveToFile

PURPOSE ^

SAVETOFILE save svm classifier to a file

SYNOPSIS ^

function saveToFile( cl, fileName )

DESCRIPTION ^

SAVETOFILE save svm classifier to a file
   
   Inputs:
       cl: trained svm classifier
       fileName : name of the binary

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

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

Generated on Sun 29-Sep-2013 01:25:24 by m2html © 2005