CAGE User's Guide |
 |
Setting Up Tables
To set up tables in CAGE, you first open the Calibration Manager dialog box. Do this by selecting Tools -> Calibration Manager or by clicking
in the toolbar.
You can either set up your tables manually or from a calibration file. You can also copy table data from other sources.
Setting Up Tables Manually
- Select the normalizer or table to set up from the list on the left.
- Enter the number of rows and columns in the edit boxes in the Manual Setup pane and select initial values for each cell in the table.
Note
When initializing tables for a feature calibration (comparing a model to a strategy) you should think about your strategy. CAGE cannot fill those tables if you try to divide by zero. Modifier tables should be initialized with a value of 1 for all cells if they are multipliers, and a value of 0 if they are to be added to other tables. See How CAGE Fills Tables and Initializing Table Values.
|
- Check the display of your table, then click Close.

Setting Up Tables Using an Existing Calibration File
- Open the file by clicking
.
- This opens the Import Calibration dialog box.
- Select the type of file you want to open (M or Mat file) or select Automatic. Click OK to open the file browser.
- Browse to the calibration file, select it and click Open.
Note
tutorialcal.mat is an example calibration file in the mbctraining folder.
|
- Highlight both the table in the Contents of Calibration File pane and the table in the Calibratable Blocks pane that you want to associate with it.
- Associate these two files by clicking
.
- To associate all the items listed in the Calibratable Blocks pane with items having the same names listed in the Contents of Calibration File pane, click
.
- Check the display of your table, then click Close.

Note
You can add additional file formats to configure CAGE to work with your processes.
|
Contact The MathWorks for details about adding file formats at www.mathworks.com/products/mbc/
.
Finding Items in the Calibration File
In a large calibration file, you might want to search for an item by name. To search the Contents of Calibration File pane:
- Click the Contents of Calibration File list.
- Type the first few letters of the item that you are searching for.
- The cursor moves to the letters specified as you type.
Copying Table Data from Other Sources
You can paste table values from Excel, for example, by copying the array in Excel and clicking Paste
:
- Open the desired Excel file and copy the array that you want to import.
- In the Calibration Manager dialog box, click Paste
.
You can also set up a table from a text file:
- Click
in the toolbar.
- Select the desired file, then click Open.
Note
If the size of the table is different from the file that you are copying, CAGE changes the size of the table in the session.
|
| Calibration Manager | | Table Properties |  |