System output function : Simulink coder : custom code : blink LED
조회 수: 5 (최근 30일)
이전 댓글 표시
Hello,
I am working on TI mmWave radar board and I want to blink LED on it. I have added the hardware and done all the linking process and it is successfully generating a a binary for a simple gain block. Now I want to blink an LED to test the complete process. However, since there is no pre-existing block specifically for LED blinking on the mmWave radar board within Simulink, I am considering the use of Simulink Coder's 'Custom Code' feature, specifically the 'System Output Function' block. I must admit, I am not fully versed in how to implement this. I have the blink LED code ready, with both the header and the main.c file. I am seeking guidance on which sections of the code should be placed where, and the procedure to accomplish this within the Simulink environment.
Also this is the block ![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1630381/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1630381/image.png)
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Radar and EW Systems에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!