2020-04-15 2:21 PM
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 directoryWith 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
2020-04-16 1:45 AM
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
2020-04-16 4:14 AM
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
2020-04-16 4:57 AM
Thanks Cyril,
This is the correct configuration in order to resolve de problem.
2020-04-16 6:32 AM
The problem recurs every time I generate new files from simulink. Is there any way to correct the bug?
2020-04-16 10:13 PM
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.
We’re moving the ST Community to a new platform to give you a better and more reliable community experience.