Clear Filters
Clear Filters

How to run a trained keras model in simulink?

2 views (last 30 days)
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.
David Willingham
David Willingham on 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.

Sign in to comment.

Answers (1)

Sivylla Paraskevopoulou
Sivylla Paraskevopoulou on 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:

Community Treasure Hunt

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

Start Hunting!