*RegisterExternalFunction()
Adds external math functions to the program.
Syntax
*RegisterExternalFunction ("Function Name", "Path")
Application
MotionView, HyperView, HyperGraph and HyperGraph 3D, HyperStudy, TextView, and MediaView.
Inputs
- "Function Name"
- The name assigned to the external program. Must be in double quotes.
- "Path"
- Full path and file name of executable.
Context
*BeginDefaults()
*BeginResources()
Example
*BeginDefaults()
     *RegisterExternalFunction("HIC",
                               "/usr/bin/madymo_hic")
*EndDefaults()
  *BeginPlotDefaults()
    *RegisterExportTemplate("Altair Format", "altair.tpl",
                            "alt")
    *SetBrowserExtension("*req") 
    
*RegisterImportTemplate("/usr/people/altair/
                            new_format.tpl")
    *RegisterExternalReader("/usr/people/altair/
                            altair_exe")/
    *SetBackgroundColor(0) 
    *SetGridlineColor(14) 
    *SetHeaderColor(1) 
    *SetBorderColor(12)
    *SetZerolineColor(10)
    • • •
  *EndPlotDefaults()Comments
External programs can be registered to be used along with math functions and operators. External programs must be registered before they can be called using the extern function.