Model Browser User's Guide    

Exporting Models

You can export all models created in MBC using the menu item File ->Export Models.

The Export Model dialog appears.

You can export a model to the MATLAB workspace, to an EXM file for CAGE, or to a Simulink model (an MDL file). You choose the export format using the Export to drop-down menu. If a file format is chosen (export to file or to Simulink), the Destination file controls are enabled, and the "..." button allows you to locate a destination file using a file browser.

The EXM file format is specifically designed for loading into the CAGE part of MBC Toolbox, for example, to create calibrations.

Export As -- Defines the name that the model has when loaded. For example, if the model is exported to the MATLAB workspace, a workspace variable appears called PS22 (in the preceding example figure).

Export global models -- When a two-stage model is being exported (from the response node) the constituent response feature models can also be exported. Multiple models are exported to the workspace as a cell array.

Export all local models -- When exporting at the local node, the single local model for the current test is exported. Selecting this control exports the local models for all tests (to the workspace as a cell array).

Export datum models -- When exporting a two-stage model that has a datum defined, this control allows you to export the datum global model (without exporting all other response feature models).

Constraints exported -- Where design constraints exist, they are always exported.

Export PEV blocks -- When exporting to Simulink, you can create a PEV block as part of the Simulink diagram so that the prediction error variance can be evaluated along with the model. This is not available for models where PEV cannot be calculated.

Export Preview -- Displays the models that are exported with the current choice of options. For example:

See What Is Exported? for details on what to expect here.

Export information -- Traceability information is exported with the models. You can add/edit/delete further comments using the buttons on the right.

Tradeoff... -- This button appears when you are exporting from the test plan node. This button exports all local models in a .mat file that can then be loaded into the Multimodel Tradeoff tool within CAGE.

Clicking Tradeoff... creates a file browser. When you click Save, all local models are saved to the specified file, regardless of the main dialog's OK or Cancel buttons.

Click OK to export the current selection of models and close the dialog.


  Model Evaluation Using Other Data What Is Exported?