MATLAB: Arduino External Mode Over WiFi

arduinoexternal

Hello, i'm trying to make run my simulink project in external mode over WiFi using a WiFi shield. I tried different Arduino boards ( Uno, Due, Mega2560). With similar results External mode over serial is working well. Once builded the board is runnning and connected to the router, i can see it from the router dialog box. The windows firewall is disabled, but i still get the error:
"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."
I'm was wondering if i need to open the port 17725 on the router, but through Wireshark i can see that a packet is send back from Arduino to Matlab for retrasmission. Should i make some change in the WiFi shield properties ? Where is no another setting on Matlab i can use.

Best Answer

I found a solution to my problem : update the WiFi shield firmware.
Related Question