Related Topics: | ||
Description: Returns the specified setting (Result ID) used in simulating the diagram.
Syntax: SIM_SETTINGS(Data_Src, Result ID)
Data_Src is the source diagram from which the data are taken.
Result ID is the specific piece of data you are retrieving. The Result ID can be one of the following values:
# | Result ID | # | Result ID | |
0 | End Time | 2 | Run End Time [The date and time the simulation ended.] | |
1 | Number of Simulations | 3 | Run Start Time [The date and time the simulation started.] |
Remarks:
The Data_Src can be one of the following values:
If using a default data source, it must be either 1, 2, 3 or 4, as selected from the Data Source Index drop-down list.
It can take a diagram name (e.g., "RBD!RBD1").
It can take a variable name defined via the Defined Names window (e.g., datasource).
Example:
SIM_SETTINGS("RBD!RBD1", 0) = 8765 [This is the end time of the simulation.]
Note that this value will vary depending on the source diagram.
© 1992-2013. ReliaSoft Corporation. ALL RIGHTS RESERVED.