Serial Configuration: The selected port is not configured
8 次查看(过去 30 天)
显示 更早的评论
I want to generate code with the Embedded Coder. My Simulink Model has a Serial Receiver and Serial Configuration Block. If I simulate (press on run) in Simulink everything is working. If I generate code I get the error message: The selected port is not configured. Use Serial Configuration block to configure the port. I am using the port and the simulation is working and the transmitted data is shown correct. Does anyone knows how to solve this error message, that I can generate code?
回答(1 个)
Muskan
2024-2-19
Hi Marie,
You can refer to the below documentation of "Troubleshooting Serial Port Interface" for a better undertanding of the issue:
I hope this helps!
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Deployment, Integration, and Supported Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!