Simulink Coder unable to compile Predict Block

3 visualizaciones (últimos 30 días)
Theodore Frain
Theodore Frain el 8 de Sept. de 2023
Respondida: Pratheek el 20 de Sept. de 2023
Hello,
I am attempting to generate C Code for a Simulink model containing a Neural Net Predict block. When I try to compile it I recieve the following error:
It appears to be unable to find a certain header file, but that file is there and is in the correct directory. The model compiles without the predict block, I'm not sure what the block is doing to cause the error to be thrown.

Respuestas (1)

Pratheek
Pratheek el 20 de Sept. de 2023
Hello Theodore,
I understand you are facing an issue while generating C Code for a Simulink model that contains Predict Block.
There are some limitations to use Code Generation for that block, please go through them and makesure you are not violating any limitations, I'm attaching the link for the same: https://www.mathworks.com/help/deeplearning/ref/predict.html#:~:text=of%20the%20network-,Extended%20Capabilities,C%2B%2B%20Code%20Generation%0AGenerate%20C%20and%20C%2B%2B%20code%20using%20Simulink%C2%AE%20Coder%E2%84%A2.,-GPU%20Code%20Generation
Hope this helps!

Categorías

Más información sobre Simulink Coder en Help Center y File Exchange.

Productos


Versión

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by