Matlab external mode error: Error occurred while executing External Mode MEX-file 'ext_comm':Timed-out waiting for first connect response packet

2 次查看(过去 30 天)
Dear sir, I am getting following error when I am trying to communicate pandaboard with simulink in external mode by TCP\IP, I have also followed all instruction provided in manual(from matlab) error:- "Error occurred while executing External Mode MEX-file 'ext_comm':Timed-out waiting for first connect response packet
Looking forward to your reply!

回答(1 个)

Murat Belge
Murat Belge 2013-8-1
Are you able to ping your PandaBoard? If, for some reason, your host computer cannot talk to the PandaBoard. You would typically get the connection erro you see above.
To find out MATLAB can talk to your PandaBoard, execute the following on the MATLAB command line:
>> h = pandaboard
>> h.connect
If this gives you a "Connection successful" message you are good. Next, make sure that you follow the instructions in the "Getting started" demo for PandaBoard support package. This demo tells you how to do an external mode simulation.
Also examine the DOS window that opens up after the Simulink model is launched on your PandaBoard. This DOS window pipes messages coming from your PandaBoard back to the host computer. If there was an error starting your application, you would see an error message in the DOS window. For example, you do not have a camera connected to your PandaBoard but you are trying to use a V4L2 Video Capture block in your Simulink model, you would get an error.

类别

Help CenterFile Exchange 中查找有关 Block Libraries 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by