Classification Learner - Call trained model in Simulink
Mostra commenti meno recenti
Used classification learner to make a model, it exports the model as a function handle. When I try to call the function from a Matlab Function block in simulink it errors out. "Undefined function or variable 'trainedModel'" The variable trainedModle is loaded in the workspace.
function Value = Predictions(x)
Value = trainedModel.predictFcn(x);
1 Commento
William Seldon
il 26 Lug 2017
Risposte (0)
Categorie
Scopri di più su Classification Learner App in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!