STM32 code generation

조회 수: 4 (최근 30일)
vasu
vasu 2023년 5월 14일
답변: Anush 2023년 6월 6일
Hi,
Am trying to generate code from the simulinnk, but am getting the error.
I am also trying to change target link file to stm32.tlc. but it is not available in my matlab R2022a. How to resolve this?

답변 (1개)

Anush
Anush 2023년 6월 6일
Hi Vasu,
The problem actually exists in the configuration in STM32CubeMX and not in the target link file.
Enable the 'Do not generate the main()' checkbox in the project manager section:
You can refer this for any further doubts:

Community Treasure Hunt

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

Start Hunting!

Translated by