使用“Embedded Coder”生成STM32代码,编译时遇到“fatal error: stm32g4xx_hal.h: No such file or directory”错误,无法正常编译完模型,请问这是什么原因造成的?
16 views (last 30 days)
Show older comments
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1434948/image.png)
Answers (2)
MATLAB_atian
on 4 Dec 2023
我和你一样的问题(同时,我在命令界面报了:Warning: Name is nonexistent or not a directory:)
把set path路径修改了下,故障消失了。
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!