Function Reference: libsvmread

statistics: [labels, data] = libsvmread (filename)

This function reads the labels and the corresponding instance_matrix from a LIBSVM data file and stores them in labels and data respectively. These can then be used as inputs to svmtrain or svmpredict function.

Source Code: libsvmread