Effacer les filtres
Effacer les filtres

How to simulate a neural network in Simulink?

32 vues (au cours des 30 derniers jours)
Ali Almakhmari
Ali Almakhmari le 16 Juin 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).

Réponse acceptée

Ali Almakhmari
Ali Almakhmari le 18 Juin 2023
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

Plus de réponses (0)

Catégories

En savoir plus sur Sequence and Numeric Feature Data Workflows dans Help Center et File Exchange

Produits


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by