Main Content

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');

Version History

Introduced in R2007a