How to call/reuse a trained neural network in simulink

15 Ansichten (letzte 30 Tage)
Hexuan Li
Hexuan Li am 8 Jul. 2021
Beantwortet: Rushil am 26 Mär. 2025 um 4:54
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!

Antworten (1)

Rushil
Rushil am 26 Mär. 2025 um 4:54
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.

Kategorien

Mehr zu Sequence and Numeric Feature Data Workflows finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by