In classical (hard-margin) Support Vector Machine (SVM), vectors between parallel lines are not allowed. This can cause the problem of over fitting.
Therefore, SVM with soft margin is used. In this case, multiple vectors between parallel lines are allowed.
We did not use any MATLAB toolbox for the implementation of this code, we just use MATLAB basic programming.