getreqname

Returns the name of a request within a 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

getreqname(filename, subcase, datatype, index)

getreqname(filename, datatype, index)

Inputs

filename
Path of the file.
Type: string
subcase
Subcase name or index in the file to be read
Type: string | int
datatype
Data type name or index in the file to be read
Type: string | int
index
Index of request
Type: integer

Outputs

R
Name of request.

Examples

Basic getreqname example without subcase:
getreqname('Path/To/File/ANGACC', 'Angular Acceleration', 5)
R = 50th% Hybrid3   - UPPER LEG RIGHT
Basic getreqname example with subcase:
getreqname('Path/To/File/bezel.res', 'Scalar', 'Velocities (c)', 50)
R = Node 65