I want to import from STM32CubeIDE Code generated by Simulink's Embedded STMicroelectronics STM32 Processors toolbox

52 次查看(过去 30 天)
Hello, everybody
I can successfully generate code in Simulink and write it into the hardware through Simulink, but how do I view the code generated by Simulink models? I opened it with STM32CubeIDE, and found no file belonging to STM32CubeIDE for me to open.
For example, TI's C2000 support package, after using Simulink to generate code, you can directly open the generated code file with TI's CCS compiler

回答(1 个)

Sumukh
Sumukh 2024-12-4,11:28
Hi @y,
Kindly refer to the following MATLAB Answer where the documentation mentioned might be of help:
If the issue persists or for any additional queries regarding this product usage, please contact support here:
  1 个评论
Nithin
Nithin 2024-12-24,3:48
Adding to @Sumukh's answer, currently, Simulink generated code can be viewed and used for debugging in STM32CubeIDE, but build is not possible yet. Code build via CubeIDE will be supported in future releases.\
Thanks,
Nithin

请先登录,再进行评论。

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by