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

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

 채택된 답변

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

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

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 C2000 Microcontroller Blockset에 대해 자세히 알아보기

질문:

y
y
2024년 12월 4일

댓글:

2024년 12월 24일

Community Treasure Hunt

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

Start Hunting!

Translated by