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 Comments

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)

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

Asked:

on 23 Oct 2023

Answered:

on 7 Nov 2024

Community Treasure Hunt

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

Start Hunting!