System output function : Simulink coder : custom code : blink LED
3 次查看(过去 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!