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
How to simulate a neural network in Simulink?
7 views (last 30 days)
Show older comments
Ali Almakhmari
on 16 Jun 2023
Answered: Ali Almakhmari
on 18 Jun 2023
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).
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Deep Learning Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!