How to call/reuse a trained neural network in simulink
4 次查看(过去 30 天)
显示 更早的评论
Hello everyone,
I would to know how to use simulink to call an already trained network model
I have tried to do this with matlab function block and s-function, but both failed
The way to call the network model using matlab script is known to me.
I hope you can give me some examples
Thanks a lot!
0 个评论
回答(1 个)
Rushil
2025-3-26
Hello
I assume that you have trained your model using Regression Learner. Then, to export a model to Simulink, there is a workflow that you may follow, which can be found at the following documentation link: https://www.mathworks.com/help/stats/export-regression-model-to-predict-new-data.html#mw_55e40800-fbf1-4972-ab41-3c65aaf844c6 . Following the steps provided in the documentation may help you accomplish your task at hand.
Please note that Linear Regression and Kernel Approximation Regression models may not be exported to Simulink using the aforementioned steps.
Hope it helps you out.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Deep Learning Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!