Error occured while External Mode MEX-File 'ext_comm'

5 views (last 30 days)
Hello Matlab Support,
I am trying to run an S-function block which is programmed to look for the connected omicron equipment and lock it for further commands. The decvice is connected through TCP/IP interface. The s-function block runs fine in the normal mode. In order to run the model in external mode, I am able to build the model without any errors but when I try to connect to the target, I get the following error:
Error occurred while executing External Mode MEX-file 'ext_comm': An error occurred attempting to open an rtIOStream. More detail may be reported in the MATLAB command window
The command window shows nothing as an error except only this message: Attempting to establish connection with hostname 'null' through port 17725.
Looking forward to your reply..
Thanks
Mansoor
The command window

Answers (1)

Slf Sr
Slf Sr on 5 Jan 2018
Hello,
The question was posted long time ago but for people reading here, I think this answered question is similar : https://fr.mathworks.com/matlabcentral/answers/103456-why-do-i-get-an-ext_comm-error-when-i-try-to-run-a-model-in-external-mode-on-a-zynq-board-with-emb
Regards

Categories

Find more on Simulink Coder in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!