Main Content

Configure Model to Run in External Mode over Ethernet

To configure a model to run in External mode over Ethernet:

  1. Open a model that is configured for External mode. For example, open Communicating with Arduino Mega 2560 Hardware by typing

    arduinomega2560_communication
    in the MATLAB® command prompt.

  2. Open the Configuration Parameters dialog box.

  3. In the External mode>Communication interface parameter, select TCP/IP option.

  4. Make sure that you have configured the Ethernet Shield properties as described in Configure Network Settings for Arduino Ethernet Shield.

  5. 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.