Hello,
If you want to work on Support Vector Machoine in MATLAB, you should use "fitcsvm" function. It helps to train SVM classifier for one-class and binary classification.
Also refer to the documentation of "fitcsvm" function from MathWorks for better understanding-