Here is SVM code attached in M file (SVM.m). You can call this function by matlab function from simulink. You must pass the input parameters to the block and accept the output parameter that contains 6 PWM for the inverter.
You can use the SVM implementation available in weka. Open the file in the weka explorer interface and choose the panel classify ->functions-> SMO. Data should be in arff or csv format. You can also load data from databases like SQL.
Alternately you can access the weka source code from eclipse. Train the classifier with some data to build a model and test using the built model
See the link below for decision tree and Naive bayes code in weka. u can follow similar steps for doing SVM