Products & Services Solutions Academia Support User Community Company

Learn more about Model-Based Calibration   

Importing and Exporting Calibrations

Formats

You can import and export calibrations in various formats.

You can export all the same formats, plus the simple CSV file format.

Importing Calibrations

  1. Select File > Import > Calibration > File or ATI Vision.

    Similarly, from the Calibration Manager, if you click Open Calibration File in the toolbar, you can select File or ATI Vision in the dialog and proceed to import in the same way.

  2. If importing a file, a file browser dialog opens.

    1. Select the type of file you want from the Files of type drop-down list, or leave the default All files (*.*) and CAGE will try to load the file based on the file extension.

    2. Browse to the file and click Open to import.

    If importing from .dcm, .mat or .m file, the Calibration Manager opens. See Setting Up Tables from a Calibration File for instructions.

    If importing from ATI Vision, the ATI Vision Connection Manager dialog appears.

    1. The Computer field is optional. Leave this field blank if you are using Vision on the local machine. If you want to connect to a remote machine, you can enter a machine name or an IP address.

    2. Click Connect.

      If Vision is already running on the machine that you try to connect to, MATLAB connects to Vision. If Vision is not running then it is launched, typically with no project loaded and with the application window invisible.

    3. If there is a project (.prj file) currently loaded in Vision it appears in the Project field. If this field is blank then there is no project loaded. Type a project file name to load that project. Note that the project file path is relative to the machine on which Vision is running.

    4. Select the appropriate Vision Device, Strategy and Calibration within your project, and click OK to import.

      The Calibration Manager opens. See Setting Up Tables from a Calibration File for instructions.

Exporting Calibrations

To export your calibration data,

  1. Select File > Export > Calibration > Selected Item or All Items, or use the toolbar button to export all calibration items.

    The Export Calibration Data dialog appears.

  2. Select the check boxes of the calibration items you want to export.

    You can select all items of a single type by using the check boxes under the list — for example select the 2D tables check box to select the check boxes of all 2D Tables in the list.

    If you chose to export All Items, all tables, normalizers, curves and constants in the project are available in the list of calibration items.

    If you chose to export Selected Item, the list items depend on which tree node you have selected. For a table node, the list contains the table and its normalizers. For a Feature or Tradeoff node, the list includes the whole feature or tradeoff (all tables, normalizers, curves and constants). For an optimization node, the list contains any tables filled from the optimization results.

  3. Select the format you want to export to:

    • ATI Vision

    • ATI Vision MAT file

    • INCA DCM file

    • Simple CSV file

    • Simple MAT file

    • Simple M file

    Click OK to export your selected items.

  4. If you selected ATI Vision, the ATI Vision Connection Manager dialog appears, as for importing calibrations.

    If you select a file format, a file browser appears. Choose a location and filename and click Save.

When exporting to an existing calibration file, the exported items replace the existing items. (There is no merging of existing items and new exported items.)

When exporting to Vision, the items in the CAGE project are matched by name with the items in the Vision calibration and the values are replaced. It is not possible to add new items to a Vision project by exporting from CAGE.

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS