Error while using "Generate Code for Quantized LSTM Network and Deploy on Cortex-M Target" example.
Afficher commentaires plus anciens
After using the command :
codegen -config cfg net_predict -args {coder.Constant('activityRecognisationNet.mat'),single(zeros(3,10))}
I get the error:
"C:/Users/Administrator/Documents/MATLAB/Examples/R2022a/deeplearning_shared/CodeGenerationForQuantizedDeepLearningNetworkOnCortexMExample/codegen/lib/net_predict/predict.c"
C:/Users/Administrator/Documents/MATLAB/Examples/R2022a/deeplearning_shared/CodeGenerationForQuantizedDeepLearningNetworkOnCortexMExample/codegen/lib/net_predict/predict.c:11:10: fatal error: arm_nnfunctions.h: No such file or directory
11 | #include "arm_nnfunctions.h"
| ^~~~~~~~~~~~~~~~~~~
compilation terminated.
gmake: *** [predict.o] Error 1
The make command returned an error of 2
Error(s) encountered while building "net_predict"
------------------------------------------------------------------------
??? Build error: C compiler produced errors. See the Build Log for further details.
More information
Code generation failed: View Error Report
It means my compiler can not find "arm_nnfunctions.h".I have installed the stm32 support packages.Does the compiler need to set include path?How to set the include path?
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur STMicroelectronics Discovery Boards dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!