*RegisterHMATHFunction()

Registers a HyperMath HML file in the HyperWorks preferences file. This allows the HyperMath functions in the file to be available in HyperWorks, similar to the internal HyperWorks math functions.

Syntax

*RegisterHMATHFunction (Function, File, Parameters)

Application

HyperGraph

Inputs

Function
The name of the HyperMath function. This is a string.
File
The name of the HML file where the above function resides. This is a string.
Parameters
The number of parameters the function accepts as inputs. This is for syntax presentation only.

Example

*RegisterHMATHFunction("MyFunction", "c:/hmath/MyFile.hml", 2)

Comments

The HyperMath function must return a scalar or a vector.

Functions within HyperMath HML files are directly supported by the HyperWorks and HyperStudy. The registered HyperMath functions are accessible in the following applications: HyperStudy response functions, TextView, HyperView notes, HyperGraph curves, notes, datum lines and plot labels, and Templex.