Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

read (Aero.Geometry)

Read geometry data using current reader

Syntax

read(h, source)

Description

read(h, source) reads the geometry data of the geometry object h. source can be:

  • 'Auto'

    Selects default reader.

  • 'Variable'

    Selects MATLAB® variable of type structure structures that contains the fieldsname, faces, vertices, and cdata that define the geometry in the Handle Graphics® patches.

  • 'MatFile'

    Selects MAT-file reader.

  • 'Ac3dFile'

    Selects Ac3d file reader.

  • 'Custom'

    Selects a custom reader.

Examples

Read geometry data from Ac3d file, pa24-250_orange.ac.

g = Aero.Geometry;
g.Source = 'Ac3d';
g.read('pa24-250_orange.ac');

Introduced in R2007a

Was this topic helpful?