Documentation

Test 1: Ping Target Computer with System Ping

If you are using a network connection, this test is a standard system ping to your target computer.

  1. At a Windows® command prompt, type the IP address of the target computer:

    ping xxx.xxx.xxx.xxx

    Review the messages.

    If the window displays a message similar to this message, system ping succeeds even though test 1 fails.

    Pinging xxx.xxx.xxx.xxx with 32 bytes of data:
    Reply from xxx.xxx.xxx.xxx: bytes-32 time<10 ms TTL=59

    If the window displays this message, the system ping command failed.

    Pinging xxx.xxx.xxx.xxx with 32 byte of data:
    Request timed out.
  2. Ping succeeds — Ethernet addresses OK?

    If ping succeeds, determine whether you entered the required IP and gateway addresses in Simulink® Real-Time™ Explorer:

    1. In the MATLAB® Command Window, type slrtexplr.

    2. In the Targets pane, expand the target computer node.

    3. On the toolbar, click the Target Properties button .

    4. Select Host-to-Target communication.

    5. Check that the IP address, Subnet mask, and Gateway text boxes contain the required values.

    6. Select Boot configuration.

    7. Click Create boot disk.

    8. Restart the target computer with the new kernel.

  3. Ping fails — Cables OK?

    If ping fails, look for a faulty network cable or, if you are using a coaxial cable, a missing terminator.

  4. Ping fails — Simulink Real-Time properties OK?

    Check that you entered the required properties in Simulink Real-Time Explorer:

    1. In the MATLAB Command Window, type slrtexplr.

    2. In the Targets pane, expand the target computer node.

    3. On the toolbar, click the Target Properties button .

    4. Select Host-to-Target communication.

    5. Check that the IP address, Subnet mask, and Gateway text boxes contain the required values.

    6. Check that Bus type is set to PCI or USB, depending on the Ethernet adapter that you are using.

    7. Select Boot configuration.

    8. Click Create boot disk.

    9. Restart the target computer with the new kernel.

  5. Ping fails — Ethernet interface operating?

    Check that your Ethernet protocol interface is operating. For example, when the cable is connected to the Ethernet card, make sure that the green “ready” light goes on.

  6. Ping fails — Interference from firewall or antivirus software?

    Check that the development computer is not running a firewall or antivirus software sensitive to the Ethernet port that you are using. For more information, consult your IT department.

  7. Ping fails — Not a locally mounted folder?

    Run slrttest from a locally mounted folder, such as Z:\work, rather than from a UNC network folder, such as \\Server\user\work.

If this procedure does not solve your issue, see Communication Between Development and Target Computers in Troubleshooting in Simulink Real-Time. If you still cannot solve your issue, see Find Simulink Real-Time Support.

Was this topic helpful?