Effacer les filtres
Effacer les filtres

predict function for svm supported with matlab coder or not ?

2 vues (au cours des 30 derniers jours)
Hossein Saberi
Hossein Saberi le 21 Juil 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

Réponse acceptée

Walter Roberson
Walter Roberson le 21 Juil 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.

Plus de réponses (0)

Produits

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by