getcomplist

Returns the valid components for a given data type. 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

getcomplist(filename, datatype)

getcomplist(filename, subcase, datatype)

Inputs

filename
Path of the file.
Type: string
subcase
Subcase name or index in the file.
Type: string | int
datatype
Data type name or index in the file.
Type: string | int

Outputs

R
Cell array of component names.

Examples

Basic getcomplist example without subcase:
getcomplist('Path/To/File/ANGACC','Angular Acceleration')
R = {
[1,1] Res. ang. acc.
[1,2] X-comp. ang. acc.
[1,3] Y-comp. ang. acc.
[1,4] Z-comp. ang. acc.
}
Basic getcomplist example with subcase:
getcomplist('Path/To/File/bezel.res','Complex','Velocities (c)')
R = {
[1,1] MAG | X
[1,2] MAG | Y
[1,3] MAG | Z
[1,4] PHA | X
[1,5] PHA | Y
[1,6] PHA | Z
}