cancel
Showing results for 
Search instead for 
Did you mean: 

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

MMira.2
Associate II

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

5 REPLIES 5
Cyril FENARD
ST Employee

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
Associate II

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

0693W000000Vvp8QAC.pngThanks Cyril,

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

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

I tend to just remove it manually every time new files are generated. Can be annoying at times but for my application, none of the libraries in that directory was used.