My problem has 6 classes. After creating model file using RBF kernel, I want to use my own kernel in which I want to use value of decision function, which I am getting using standard RBF kernel. How do I get it from LIBSVM? I am using MATLAB interface of LIBSVM.