Hello,
I have been trying since 2 days to run simulink model in External mode. Everytime I do this, Error is appeared as below.
Build process completed successfully
Attempting to establish connection with hostname '127.0.0.1' through port 17725.
Error occurred while executing External Mode MEX-file 'ext_comm':
Failed to connect to the target. Possible reasons for the failure:
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. If the Run button is not dimmed, click it. Otherwise, click the Build button, which downloads and runs your application on the target.
Caused by:
An error occurred attempting to open an rtIOStream. More detail may be reported in the MATLAB command window
I have tried almost everything that i could.
Set the correct COM port (one can see in attachement). It is building correctly and uploading to HW.But after that it is giving above error.
Please help me to fix it.
Thank you
regards
Rahul

