Custom Functions can be used to define propagators, engines, and calculation objects.
ComponentBrowser */ Duplicate "Custom Functions" {Component} <Duplicate Component Name>
ComponentBrowser */ SetValue "Custom Functions" {Component} <Attribute> <Value>
The Custom Functions components are:
Component | Description |
---|---|
MATLAB Custom Function | A custom function implemented using a MATLAB M-file. |
MATLAB DLL Custom Function | A custom function implemented using a MATLAB DLL. |
Perl Custom Function | A custom function implemented using a Perl script. |
Python Custom Function | A custom function implemented using a Python script. |
Script Engine Custom Function | A custom function implemented using an IScriptEngine interface. |
VB Script Custom Function | A custom function implemented using Visual Basic Script. |
There is one attribute for Custom Functions components, ScriptFile, which defines the filename of the script.
ComponentBrowser */ Duplicate "Custom Functions" MATLABCustomFunction "My MATLABCustomFunction"
ComponentBrowser */ SetValue "Custom Functions" "Copy of PerlCustomFunction" ScriptFile "c:/perlfunc.pl"
STK Programming Interface 11.0.1