How to call/reuse a trained neural network in simulink

4 ビュー (過去 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 Center および File ExchangeDeep Learning Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by