How to integrate a trained LSTM neural network to a Simulink model?
62 ビュー (過去 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!