Error occured while External Mode MEX-File 'ext_comm'

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

回答(1 个)

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

类别

帮助中心File Exchange 中查找有关 Simulink Coder 的更多信息

标签

提问:

2013-10-28

回答:

2018-1-5

Community Treasure Hunt

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

Start Hunting!

Translated by