How to run a trained keras model in simulink?

3 visualizzazioni (ultimi 30 giorni)
Ehsan Asadi
Ehsan Asadi il 13 Apr 2019
Commentato: David Willingham il 28 Apr 2022
I have developed a Keras LSTM model to predict a time series signal for me. Now I need to use this model in MATLAB Simulink. Any help?
I have a MATLAB R2017b which does not have the toolbox for importing Keras models.
  2 Commenti
David Willingham
David Willingham il 28 Apr 2022
Ehsan, R2017b is quite an old release and there have been significant updates to MATLAB and the world of deep learning since then. I'd recommend upgrading to the current release.

Accedi per commentare.

Risposte (1)

Sivylla Paraskevopoulou
Sivylla Paraskevopoulou il 27 Apr 2022
This example shows how to import a TensorFlow model by using the importTensorFlowNetwork function, and then use the Predict block to classify images in Simulink.
There is a blog post that shows how to integrate an imported TensorFlow network in Simulink:

Categorie

Scopri di più su Predictive Maintenance Toolbox in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by