Configure Model to Run in External Mode over Ethernet
To configure a model to run in External mode over Ethernet:
Open a model that is configured for External mode. For example, open
Communicating with Arduino Mega 2560 Hardware
by typingin the MATLAB® command prompt.arduinomega2560_communication
Open the Configuration Parameters dialog box.
In the External mode>Communication interface parameter, select
TCP/IP
option.Make sure that you have configured the Ethernet Shield properties as described in Configure Network Settings for Arduino Ethernet Shield.
Click Apply.
Your model is configured to run in External mode over the TCP/IP network.
Note
For normal mode and the External mode, the IP address you have specified is used, by default.