Search Blogs Blogs

Time Tool Matlab Functions

By: Kevin Ten Eyck

The Analysis Workbench in STK can be a very powerful set of tools. It allows you to create a variety of custom components for analysis throughout STK. In this blog I want to focus on the Time Tool which allows you to create and manage any time instance, interval or interval collection as a named entity for use as an object property or calculation object. There are many different types for each component that you can create but even Analysis Workbench doesn’t account for every workflow that a user may want to implement. This is where our application programming interface (API) becomes very useful! Below are 2 links to Matlab functions to create new types of time arrays in Time Tool using our Object Model API.

This Matlab function generates an interval list from a provided time array that has intervals that start and stop at plus and minus a duration provided in seconds. Results:

This Matlab function generates a time array from a provided time array and Interval List that is the merge of the time array and interval list. The result will be times that fall within the intervals. Results:

Try them out and let us know what you think!

Posted: 11/21/2016 10:18:43 AM