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

Asked by Sun on 25 Jul 2013 at 19:30
Latest activity Answered by Murat Belge about 7 hours ago

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!

0 Comments

Sun

Products

No products are associated with this question.

1 Answer

Answer by Murat Belge about 7 hours ago

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.

0 Comments

Murat Belge

Contact us