gettypename

Gets the name of a data type from its index. The function has two forms. Use the first form when there is zero or at most one subcase and second form when there are multiple subcases.

Syntax

gettypename(filename, index)

gettypename(filename, subcase, index)

R = gettypename(...)

Inputs

filename
Path of the file.
Type: string
subcase
Subcase name or index in the file.
Type: string | int
index
Index of the data type to find the name of.
Type: integer

Outputs

R
Name of data type.

Examples

Basic gettypename example without subcase:
gettypename('Path/To/File/ANGACC',2)
R = Angular Acceleration
Basic gettypename example with subcase:
gettypename('Path/To/File/bezel.res','Complex',5)
R = Normal X at Z1 (c)