필터 지우기
필터 지우기

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 CenterFile Exchange에서 Sequence 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