2020-04-15 02: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 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
2020-04-16 01: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 04: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 04:57 AM
Thanks Cyril,
This is the correct configuration in order to resolve de problem.
2020-04-16 06: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.