How can I run the TensorFlow C API within Simulink as S-Function?

1 回表示 (過去 30 日間)
Nico Reeb
Nico Reeb 2019 年 2 月 20 日
コメント済み: Youngster 2021 年 5 月 17 日
I built a Neural Network using TensorFlow (using some layers and activation functions which are not suported by Matlab/Simulink)
and want to implement it in a Simulink Project.
The incoming data should be classified and the classification output be saved in a file.
Therefore I used the TensorFlow C API to create a C-file which can be used as S-Function.
But whenever I run the S-Function Matlab crashes.
Even if I only use the TensorFlow function to return the TF version.
Is there a way to run a neural network within Simulink, preferably a TensorFlow model?
Best regards,
Nico
  2 件のコメント
Dimitrios Vogiatzis
Dimitrios Vogiatzis 2020 年 7 月 3 日
Hi, did you find a workaround or a solution to your problem? I am in a similar situation...
Youngster
Youngster 2021 年 5 月 17 日
Hi all, did you find a solution for your problem? I am in a similar situation..

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeDeep Learning Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by