Error while using "Generate Code for Quantized LSTM Network and Deploy on Cortex-M Target" example.
Show older comments
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?
1 Comment
liangmaokun liangmaokun
on 22 Apr 2022
Accepted Answer
More Answers (0)
Categories
Find more on STMicroelectronics Discovery Boards in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!