使用“Embedded Coder”生成ST​M32代码,编译时遇​到“fatal error: stm32g4xx_hal.h: No such file or directory”​错误,无法正常编译完​模型,请问这是什么原​因造成的?

6 次查看(过去 30 天)

回答(2 个)

MATLAB_atian
MATLAB_atian 2023-12-3
麻烦问下这个问题最后怎么解决的

MATLAB_atian
MATLAB_atian 2023-12-4
我和你一样的问题(同时,我在命令界面报了:Warning: Name is nonexistent or not a directory:)
把set path路径修改了下,故障消失了。

产品


版本

R2023a

Community Treasure Hunt

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

Start Hunting!