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 Center および File ExchangeBlock Libraries についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by