Create and Display Time Interval Results from a CAT Analysis in the Timeline View

« Go Back

Information

 
Problem
Solution

In order to create and display the intervals in the Timeline View through the STK GUI, follow these steps:
After setting up and computing your AdvCAT object...

  1. Create a report through the Report & Graph manager that only displays the "Time In" and "Time Out" data elements. You can grab these elements from something like the "Events by Time In" data provider.
  2. Export the report as a .txt file.
  3. Reformat the .txt file to create anĀ STK interval file. You can then rename the extension to .int.
  4. Open Analysis Workbench and select the Time tab.
  5. Select your Scenario object on the left and create a new Time Interval List.
  6. Set the Type to File and point to the .int file you created.
  7. On the Timeline View, click the Add Time Components button and then add your custom time interval list.

In order to create and display the intervals in the Timeline View through MATLAB, follow these steps:
After setting up and computing your AdvCAT object...

  1. Download the .m file from the bottom of this article and open in MATLAB.
  2. Change the name of the AdvCAT object as needed on line 18 of the script. In this example the object has the name "AdvCAT1".
  3. If desired, change the file name of the created interval file (.int) on line 35.
  4. Make sure you only have your STK scenario of interest open (close any other STK instances) and run the MATLAB script.
ProductSTK
Version(s)STK 11
TitleCreate and Display Time Interval Results from a CAT Analysis in the Timeline View
URL NameCreate-and-Display-Time-Interval-Results-from-a-CAT-Analysis-in-the-Timeline-View

Related Files

CAT_Times_on_Timeline.m