predict function for svm supported with matlab coder or not ?
1 view (last 30 days)
Show older comments
Hossein Saberi
on 21 Jul 2019
Answered: Walter Roberson
on 21 Jul 2019
Hi , i have version 2018 b and my matlab coder doesnt support predict func for svm in machine learning toolbox while in this link (https://www.mathworks.com/help/simulink/ug/functions-supported-for-code-generation-alphabetical-list.html?s_tid=srchtitle) predict function listed as a supported function in matlab coder
i hope u can help me
0 Comments
Accepted Answer
Walter Roberson
on 21 Jul 2019
shows that predict is supported for MATLAB Coder in R2018b:
Code generation for predict — Save a trained model by using saveCompactModel and define an entry-point function that loads the saved model by using loadCompactModel and calls the predict function. Then use codegen to generate code for the entry-point function.
0 Comments
More Answers (0)
See Also
Categories
Find more on Code Generation in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!