How to call/reuse a trained neural network in simulink

조회 수: 5 (최근 30일)
Hexuan Li
Hexuan Li 2021년 7월 8일
답변: Rushil 2025년 3월 26일
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!

답변 (1개)

Rushil
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.

카테고리

Help CenterFile Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by