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?