How to integrate a trained LSTM neural network to a Simulink model?
62 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
CARLOS VIDAL
le 6 Avr 2018
Réponse apportée : David Willingham
le 19 Oct 2021
Hi, I have trained and tested a LSTM NN on Matlab 2018a, but I`m having problem to find a way to make my trained 'net' to integrate with a Simulink model. I have tried to create a Simulink block using 'gensim(net)' but it doesn`t support LSTM. If anyone found a way around that, I'll appreciate if you could share it. Thank you,
3 commentaires
Muhammad Faisal Khalid
le 16 Oct 2021
Hi, I have trained and tested a LSTM NN on Matlab but do not know how to implement trained 'net' to integrate with my Simulink model.
anybody know?
David Willingham
le 18 Oct 2021
You can use the Stateful predict, or Stateful classify to for using a trained LSTM with Simulink
Here are some links:
Réponse acceptée
David Willingham
le 19 Oct 2021
You can use the Stateful predict, or Stateful classify to for using a trained LSTM with Simulink
Here are some links:
0 commentaires
Plus de réponses (2)
CARLOS VIDAL
le 10 Avr 2018
Modifié(e) : CARLOS VIDAL
le 24 Mai 2018
3 commentaires
Jiahao CHANG
le 21 Mai 2021
Meeting the same error, just like Carlos said, its matrices dimentions issue. As a new of lstm, X here i think it's a matrix of time_steps*features, rather than the testing dataset you used in validation of this model.
Voir également
Catégories
En savoir plus sur Define Shallow Neural Network Architectures dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!