2021-07-14 03:40 AM
Hello
I am currently working on a project were we would like to use the STM32F303 board. We would like to debug it using the external execution mode of Simulink, but I am having problems for generating the code.
I have been following the "STM32_MAT-Target_HandsOn.pdf" which is included in the STM32-Mat installation folder. I have been able to generate code for the device and execute it, but that is not the case for the external execution. The code is quite simple, a LED blinking with a period of 1 second. I attach the simulink code and the .ioc configuration file that I am using for the test.
When I execute the "Build Model" button with the external operation enabled, I find that two different projects are created for STM32CubeIDE. The first one is created in the same folder were the .ioc is placed, but elements such as the ".cproject" is missing, so I cannot open it with the IDE.
The second one is generated inside "project_extMode" folder, which is created during the build. I can open this project using STM32CubeIDE, but most of the source code is missing, including the main file and the matlab code.
Anyone has faced this issue before?
I am working with the following versions:
Thanks in advance