*registerexternalfunction()

Registers an external math function.

Syntax

*registerexternalfunction(name,filename)

Type

hm.cfg Commands

Description

Registers an external math function.

Inputs

name
The name of the function to show in HyperMesh.
filename
The name and path of the function to register. This value must be enclosed in quotes.

Example

To register several math functions from the external functions directory:
home = getenv("EXTERNALFUNCS_DIR")
{functionlist = {"clip","barchart","fir100","butterworth","hic","hicd","histogram"}}
{foreach(function = functionlist)}
    *registerexternalfunction({function},"{home + "/" + function}")
{endloop}