getreqlist
Returns a list requests 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.
Attention: Available only with Twin Activate commercial edition.
Syntax
getreqlist(filename, datatype)
getreqlist(filename, subcase, datatype)
R = getreqlist(...)
Inputs
- filename
- Path of the file.
- subcase
- Subcase name or index in the file to be read.
- datatype
- Data type name or index in the file to be read.
Outputs
- R
- List of requests.
Examples
Basic getreqlist example without subcase:
getreqlist('Path/To/File/ANGACC','Angular Acceleration')
R = {
[1,1] 50th% Hybrid3 - LOWER TORSO
[1,2] 50th% Hybrid3 - HEAD
[1,3] 50th% Hybrid3 - UPPER TORSO
[1,4] 50th% Hybrid3 - UPPER LEG LEFT
[1,5] 50th% Hybrid3 - UPPER LEG RIGHT
}
Basic getreqlist example with
subcase:
getreqlist('Path/To/File/vdd_crc_r60_acc_crc.res','Results','Part')
R = {
[1,1] _cv_part
[1,2] testrig.ges_gyro
[1,3] TR_Front_Suspension.gel_lower_control_arm
[1,4] TR_Front_Suspension.ger_lower_control_arm
[1,5] TR_Front_Suspension.gel_upright
[1,6] TR_Front_Suspension.ger_upright
[1,7] TR_Front_Suspension.ges_subframe
[1,8] TR_Front_Suspension.gel_upper_strut
[1,9] TR_Front_Suspension.ger_upper_strut
}