Executing the oil sheet example

Describes the procedure to execute the example and examines the results.

To execute the oil sheet example:

  1. First make sure the spreadsheet file is not read-only, then close it, so that the IDE can write to it.

    If the spreadsheet file is read-only, the IDE displays an error message.

  2. Exit Microsoft Excel.

    Otherwise, the spreadsheet file is considered read-only and the IDE reports an error message.

  3. Right-click the run configuration Data from spreadsheet and make it the default run configuration.
  4. Right-click again and select Run this.
    Figure 1. Problem Browser after execution (oilSheet.dat)
    Problem browser for oil.mod model

In the Problem Browser, you can examine the model in the usual manner to see the contents of the various data structures in this example. If you are not familiar with the Problem Browser, see Understanding the Problem Browser in Getting Started with the IDE.

At the end of execution you see the following message in the Solutions tab.

Figure 2. Solutions tab (oilSheet.dat)
Solutions window for oilSheet.dat

You can examine the data and variables in tabular form from the data structure tree built in the Problem Browser. You can also see all the results together in Microsoft Excel.