![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1404564/image.jpeg)
STM32 code generation
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi,
Am trying to generate code from the simulinnk, but am getting the error.![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1382619/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1382619/image.png)
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?
0 Kommentare
Antworten (1)
Anush
am 6 Jun. 2023
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:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1404564/image.jpeg)
You can refer this for any further doubts:
0 Kommentare
Siehe auch
Kategorien
Mehr zu Get Started with Embedded Coder Support Package for STMicroelectronics STM32 Processors finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!