Main Content

Import Models and Calibration Items

You can import Model Browser models from any project file or directly from the Model Browser when it is open.

You can use the CAGE Import Tool to select items to import from any Model-Based Calibration Toolbox™ project file produced in CAGE or the Model Browser (.mat or .cag). Importing existing items can simplify setting up new projects and making changes to existing projects, for example, using new models in an existing optimization and calibration.

You can replace suitable items in your current CAGE project with imported items. You can also rerun optimizations and feature fills that use the replaced models to update the lookup tables. If an item is replaceable in the Import Models dialog box, the Replace option becomes available.

Import Models to CAGE from Model Browser

To import new models to CAGE from the Model Browser:

  1. In the Model Browser, open a project.

  2. From the Model Browser home page or alternatively from the test plan view of a project, click Generate Calibration. If not already open, CAGE opens with the Import Models dialog box.

  3. Click OK to create new models from the list.

    Create new models from CAGE Import Models dialog box.

To replace models in CAGE from the Model Browser:

  1. In the Model Browser, open a project.

  2. In CAGE, open the corresponding CAGE project.

  3. From the Model Browser home page or from the test plan view of a project, click Generate Calibration. The Import Models dialog box opens.

  4. Click OK to replace the models from the list.

    If you are replacing models, a Model Browser models (but not a CAGE model) must have exactly the same input name as the CAGE model you want to replace. Update constraint bounds if limits change before you replace models.

    Replace models from CAGE Import Models dialog box.

  5. Click Start to rerun optimizations and feature fills to update the lookup tables.

    Update lookup tables dialog box

If a project has two or more test plans, merge compatible models into composite models by clicking Yes in the Import Models dialog box. For more information, see What Are Composite Models?

Import Models dialog box to merge compatible models into composite models.

Using the CAGE Import Tool

To use the CAGE Import Tool:

  1. On the CAGE home page, click File > Import From Project.

    • If it is not already open, the Model Browser opens. Use the Model browser to open a project.

    You can also import regression and classification model objects created with the Statistics and Machine Learning Toolbox™ from the base workspace.

    • On the CAGE home page, click File > Import > Regression Model, or click File > Import > Classification Model.

    The CAGE Import Tool opens.

  2. You can choose a project file or import directly from the Model Browser if it is open.

    • If the Model Browser is open, the list is automatically populated with a list of available items in the open project.

    • To import from a file, click Import from project file.

      A file browser dialog box opens. Locate the desired file and click Open.

  3. The CAGE Import Tool displays the available items. Select the items you want to import. Press Ctrl+A to select all items, or press Ctrl+click or Shift+click to select multiple items in the list.

    CAGE import tool.

    You can use the Find and Type controls to filter the item list:

    • If you are importing from a Model Browser project, from the Type list, you can select Response, Point-by-point, Datum or Response Feature to display a single model type only.

    • If you are importing from a CAGE project, from the CAGE items in the Type list, you can select Variable, Model, Normalizer, Table, Feature, Optimization, Dataset, or Tradeoff. For models, the Subtype column displays whether a model item is an MBC model, function model, or feature model.

    • In the Find box, enter text to find particular item names. You can also select Match case to match the case of your search terms.

  4. Click Import Selected Items.

  5. The CAGE Browser opens and displays the imported models.

    CAGE import tool.

  6. When you have finished importing items, in the CAGE Import Tool, click Close.

You can replace models, variables, normalizers, lookup tables, and features. You cannot replace optimizations, datasets or tradeoffs. You cannot replace lookup tables used in tradeoffs with lookup tables of a different size.

The PEV calculation is not supported for point-by-point models using neural network models, or with greater than 500 parameters, or greater than or equal to 8 inputs.

See Also

Topics