Network Boot Method

After you have configured the target computer environment parameters, you can use a dedicated Ethernet network to load and run the Simulink® Real-Time™ kernel.

Network boot method limitations:

  • Do not use the network boot method on a corporate or nondedicated network. Doing so can interfere with dynamic host configuration protocol (DHCP) servers and cause network issues.

  • Your Speedgoat target machine must be compatible with the Preboot eXecution Environment (PXE) specification. See the Speedgoat documentation.

  • If Boot mode Stand Alone is enabled, you cannot start the target computer across the network.

Before you start working with Simulink Real-Time, establish an Ethernet connection between the development and target computers by using the procedures in PCI Bus Ethernet Setup.

  1. Open a Simulink Real-Time model by creating a model from the Simulink start page. In the MATLAB Command Window, type:

    simulink

    Select the Simulink Real-Time template from the start page and create the exampleSlrtApp model. Or, in the Command Window, use the Simulink.createFromTemplate command.

  2. In the Simulink Editor, open the Target Computer Manager. In the Real-Time tab, from the targets list, click Target Computer Manager.

  3. In the Target Computers list, select the target computer node.

    • To add a node representing another target computer, in the Targets pane, click the Add target button.

    • To remove a node representing a target computer, select the node and click the Remove target button.

  4. To clear the MAC address, from the Advanced settings list, delete the value in the MAC address box.

    If you clear the MAC address, the next time that the target computer starts, by default, the software obtains the MAC addresses of accessible target computers. The software displays them for confirmation in the Simulink Real-Time Network Boot dialog box.

  5. To enter the MAC address of the target computer manually, in the MAC address box, enter the address in the format xx:xx:xx:xx:xx:xx.

    The next time that the target computer starts, the software selects and starts the target computer that matches this MAC address. The Simulink Real-Time Network Boot dialog box does not open.

  6. Click Create boot disk.

    The software creates and starts a network boot server process on the development computer. You see a minimized icon () in the bottom right system tray on the development computer.

  7. Turn on the target computer.

    The first time the network boot server process detects a target computer, it displays the Simulink Real-Time Network Boot dialog box. This dialog box contains physical target computer names and the corresponding IP addresses.

  8. Select the target computer name for the physical target computer.

  9. Click OK.

    The development computer network boot server displays a message indicating that the boot server is being downloaded to the target computer.

    If you click Cancel, the kernel waits for 90 seconds before responding the next time that you try to start the target computer across the network.

The Target Computer Manager window looks like this figure.

Repeat this procedure as required for each target computer.

Tip

To configure the network boot by using MATLAB® language, see Command-Line Network Boot Method.

After you complete network boot for a new target computer, test the configuration. For more information, see Run Confidence Test on Configuration.

Related Topics