Skip to main content
MMira.2
Associate II
Apr 15, 2020 9:21 PM UTC
Question

ERROR arm-atollic-eabi-gcc: error: Files/MATLAB/R2020a/simulink/include: No such file or directory WITH STM32MATTarget_5.6.0

Hello everybody,

I installed version 5.6.0 of STM32MatTarget and tried to use it by generating a code for a simulink simple blink LED project.

I made the configurations as per the guide, but when I start the project on Atollic or CubeIDE I get the same result:

arm-atollic-eabi-gcc: error: Files/MATLAB/R2020a/simulink/include: No such file or directory

With version 5.4.0 this did not happen.

Anyone have the same problem? I use the version of matlab / simulink 2020

Thank you and good evening

This topic has been closed for replies.

5 replies

Cyril FENARD
ST Employee
Apr 16, 2020 8:45 AM UTC

Hi @MMira.2​ ,

You are facing a problem with an include path that contains spaces in it.

This is a known issue of project generation by the STM32CubeMX tool for Eclipse based IDEs.

Simply surround this path with " and it should work.

Sorry for the disturbance.

Regards.

Cyril

MMira.2
MMira.2Author
Associate II
Apr 16, 2020 11:57 AM UTC

0693W000000Vvp8QAC.pngThanks Cyril,

This is the correct configuration in order to resolve de problem.

MMira.2
MMira.2Author
Associate II
Apr 16, 2020 1:32 PM UTC

The problem recurs every time I generate new files from simulink. Is there any way to correct the bug?

MMira.2
MMira.2Author
Associate II
Apr 16, 2020 11:14 AM UTC

Now the Build Command in Simulink Model not generate all project file. Anyone have the same problem? This problem is present both Matlab 2019b 2020a

0693W000000VvbpQAC.png