gettypelist

Returns a list of data types in a file. By default, the first subcase is used.

Syntax

gettypelist(filename)

gettypelist(filename, subcase)

R = gettypelist(...)

Inputs

filename
Path of file to be read.
Type: char | string
Dimension: string
subcase
Subcase name or index in the file to be read.
Type: char | string | integer
Dimension: scalar | string

Outputs

R
Cell array of data type names.

Example

Basic gettypelist example without subcase

gettypelist('Path/To/File/ANGACC')
R = {
[1,1] Angular Acceleration
}

Example

Basic gettypelist example with subcase

gettypelist('Path/To/File/bezel.res','Complex')
R = {
[1,1] Displacements (c)
[1,2] Velocities (c)
[1,3] Accelerations (c)
[1,4] Normal X at Z1 (c)
[1,5] Normal Y at Z1 (c)
[1,6] Shear XY at Z1 (c)
[1,7] Major Principal at Z1 @ 0.0000 (c)
[1,8] Minor Principal at Z1 @ 0.0000 (c)
[1,9] Normal X at Z2 (c)
[1,10] Normal Y at Z2 (c)
[1,11] Shear XY at Z2 (c)
[1,12] Major Principal at Z2 @ 0.0000 (c)
[1,13] Minor Principal at Z2 @ 0.0000 (c)
[1,14] Von Mises at Z1
[1,15] Von Mises at Z2
}