I try to setup a communication between Matlab 2016a/Simulink and Arduino Due through wifi with an ESP8266 wifi chip, following this tutorial:
I use the Simulink setup that Mathworks is providing, but I have 2 problems/questions:
1) In the Hardware Implementation configuration panel of Simulink (Simulation > Model Configuration Parameters > Hardware Implementation > "specify arduino model in hardware board field" > Target Hardware Ressources > Wifi shield properties), after specifying that I use an Arduino Due (I have downloaded the Arduino Support Package) I can't specify that I am using an ESP8266. Does it mean that the ESP8266 is not taken in charge in the package by Matlab anymore? Does it mean that the ESP8266 is not detected?
and following the tutorial I should have:
2) Do I have to program my ESP8266 to act as a server and assign an IP adress to it(through C++ code run on the Arduino) before trying to connect it with Matlab, or will Matlab do all the setup automatically? (For the configuration I have the Arduino connected via USB to my laptop).
Thanks in advance for the help!