error occurred while executing external mode mex-file 'ext_comm'
显示 更早的评论

I have tried to change baud rate into 921600 and 230400 but I still meet this error. Can someone please help me. I use matlab 2019a.
2 个评论
Vikai
2023-10-23
Venkat Siddarth Reddy
2024-4-17
Hi Vikai,
Just from the error message, I am speculating that the issue is with the target board. Can you confirm that the mentioned possible reasons have been ruled-out?
回答(1 个)
Sheeba Ransing
2024-11-7
1 个投票
Hi,
Based on the error message, it seems the target hardware board is not accessible. You can perform the following checks:
- Verify that the correct COM port is configured in the configset of the model
- On the target board, confirm if another process using the same model is running. You can use PuTTY to connect to the board and terminate the process. And try to deploy again.
Let us know if this helps.
类别
在 帮助中心 和 File Exchange 中查找有关 Embedded Coder Supported Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!