How can I update multiple SVM classifier models in generated code without having to regenerate code in MATLAB R2025b?
Show older comments
I have 6 classifier models in MATLAB R2025b trained and saved as "ClassificationSVM" MATLAB objects. I generate a single DLL file that encompasses all 6 models using MATLAB coder.
However, every time I want to retrain and update the models, I need to regenerate the DLL, which is not practical for their deployment requirements. I need to be able to update the classifier models without regenerating the DLL during runtime.
Based on the learnerCoderConfigurer documentation, it is possible to update models without regenerating code using the "learnerCoderConfigurer" object and its update function. However, the documented workflow only demonstrates how to update a single model and only when the generated code output is a mex function, not a DLL.
How can I generate a single DLL of my entire software and then update the set of classifiers models within the software without regenerating the DLL? Generating separate DLLs for each model is not viable for my workflow.
Accepted Answer
More Answers (0)
Categories
Find more on Simulink Coder in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!