フィルターのクリア

How to simulate a neural network in Simulink?

32 ビュー (過去 30 日間)
Ali Almakhmari
Ali Almakhmari 2023 年 6 月 16 日
回答済み: Ali Almakhmari 2023 年 6 月 18 日
Hello guys. I have a neural network (ANN) that I trained. I can simulate it just fine by using the following command in a MATLAB script:
outputs = sim(ANN,inputs)
But when using a MATLAB a function inside a Simulink module, using the same command, I get an error which I believe is because sim cannot be used inside a Simulink module. Is there any other way to simulate ANN (my neural network).

採用された回答

Ali Almakhmari
Ali Almakhmari 2023 年 6 月 18 日
For anyone wondering in the future how to do this, the gensim command is your answer: https://www.mathworks.com/help/deeplearning/ref/network.gensim.html

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSequence and Numeric Feature Data Workflows についてさらに検索

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by