Skip to main content
MMira.2
Associate II
April 15, 2020
Question

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

  • April 15, 2020
  • 2 replies
  • 3006 views

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.

2 replies

Cyril FENARD
ST Employee
April 16, 2020

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
April 16, 2020

0693W000000Vvp8QAC.pngThanks Cyril,

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

MMira.2
MMira.2Author
Associate II
April 16, 2020

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
April 16, 2020

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