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

조회 수: 4 (최근 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에서 Startup and Shutdown에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by