Recently，I'm currently using Pixhawk PX4 Support from Embeded Coder。In Normal Mode，I successfully build the example model,and upload it.But when I choose the External mode, I can't connect to the target. I get the following error.
Error occurred while executing External Mode MEX-file 'ext_serial_win32_comm': Failed to connect to the target. A time-out occurred while waiting for the first connect response packet. Possible reasons for the time-out:
a) The target is not switched on.
b) The target is not connected to your host machine.
c) The application for the model is not running on the target. You might have clicked the Stop button.
Why do I get this errors? And how can I solve the problem?
The following picture is the setting.