How to integrate a trained LSTM neural network to a Simulink model?
27 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
CARLOS VIDAL
el 6 de Abr. de 2018
Respondida: David Willingham
el 19 de Oct. de 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 comentarios
Muhammad Faisal Khalid
el 16 de Oct. de 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
el 18 de Oct. de 2021
You can use the Stateful predict, or Stateful classify to for using a trained LSTM with Simulink
Here are some links:
Respuesta aceptada
David Willingham
el 19 de Oct. de 2021
You can use the Stateful predict, or Stateful classify to for using a trained LSTM with Simulink
Here are some links:
0 comentarios
Más respuestas (2)
CARLOS VIDAL
el 10 de Abr. de 2018
Editada: CARLOS VIDAL
el 24 de Mayo de 2018
3 comentarios
Jiahao CHANG
el 21 de Mayo de 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.
Ver también
Categorías
Más información sobre Define Shallow Neural Network Architectures en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!