error occurred while executing external mode mex-file 'ext_comm'

2 views (last 30 days)
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 Comments
Venkat Siddarth Reddy
Venkat Siddarth Reddy on 17 Apr 2024
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?

Sign in to comment.

Answers (1)

Sheeba Ransing
Sheeba Ransing on 7 Nov 2024
Hi,
Based on the error message, it seems the target hardware board is not accessible. You can perform the following checks:
  1. Verify that the correct COM port is configured in the configset of the model
  2. 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.

Products


Release

R2019a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!