Custom Function Components

A custom function component is a scripted function that you can use to define elements of Propagators, Engines, Calculation Objects, and more.

Supported languages

Astrogator can execute custom functions written in the following languages:

  • MATLAB (M-files and DLLs)
  • Python
  • IScriptEngine
  • VBScript

Script templates

If you want to develop a custom script from a sample template, you can find sample plugin scripts in the <STK install folder>\CodeSamples\Extend\PluginScripts folder.

Help with scripting

If you want to review the inputs and outputs that are available for a particular script, refer to the Propagator Scripts, Custom Engine Model Scripts, or Calculation Object Scripts topics in the "Use Plugin Scripts" section of the STK Help.

If you need more information about scripting in STK, refer to the Engine Plugin Scripts topic in the STK Programming Help. If you need instructions for setting up and using Astrogator plugin points, refer to the Astrogator Plugin Points topic of the "Use Plugin Scripts" section of the STK Help.