How to integrate a trained LSTM neural network to a Simulink model?
27 次查看(过去 30 天)
显示 更早的评论
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 个评论
Muhammad Faisal Khalid
2021-10-16
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
2021-10-18
You can use the Stateful predict, or Stateful classify to for using a trained LSTM with Simulink
Here are some links:
采纳的回答
David Willingham
2021-10-19
You can use the Stateful predict, or Stateful classify to for using a trained LSTM with Simulink
Here are some links:
0 个评论
更多回答(2 个)
CARLOS VIDAL
2018-4-10
编辑:CARLOS VIDAL
2018-5-24
3 个评论
Jiahao CHANG
2021-5-21
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.
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!