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

 Accepted Answer

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 Comment

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

Sign in to comment.

More Answers (0)

Asked:

y
y
on 4 Dec 2024

Commented:

on 24 Dec 2024

Community Treasure Hunt

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

Start Hunting!