getreqindex
Returns the index of a request 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
getreqindex(filename, datatype, request)
getreqindex(filename, subcase, datatype, request)
Inputs
- filename
- Path of the file.
- subcase
- Subcase name or index in the file.
- datatype
- Data type name or index in the file.
- request
- Request name to find the index of.
Outputs
- R
- Index of request.
Examples
Basic getreqindex example without subcase:
getreqindex('Path/To/File/ANGACC', 'Angular Acceleration', '50th% Hybrid3 - UPPER TORSO')
R = 3
getreqindex('Path/To/File/vdd_crc_r60_acc_crc.res','Results','Part','TR_Front_Suspension.gel_lower_control_arm')
R = 3