getfilteredcomplist

Returns the component list for a given data type and request. 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

getfilteredcomplist(filename, datatype, request)

getfilteredcomplist(filename, subcase, datatype, request)

R = getfilteredcomplist(...)

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
request
Request name or index in the file.
Type: char | string | integer
Dimension: scalar | string

Outputs

R
Cell array of component names.

Examples

Basic getfilteredcomplist example without subcase:

getfilteredcomplist('Path/To/File/ANGACC','Angular Acceleration','50th% Hybrid3   - LOWER TORSO')
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 getfilteredcomplist example with subcase:
getfilteredcomplist('Path/To/File/bezel.res','Scalar','Velocities (c)','Node 10000')
R = {
[1,1] MagX
[1,2] MagY
[1,3] MagZ
[1,4] PhX
[1,5] PhY
[1,6] PhZ
}