HyperWorks Desktop

*registerexternalfunction()

*registerexternalfunction()

Previous topic Next topic No expanding text in this topic  

*registerexternalfunction()

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

NAME


*registerexternalfunction - Registers an external math function.

 

SYNTAX


*registerexternalfunction(name,filename)

 

TYPE


hm.cfg Command

 

DESCRIPTION


Registers an external math function.

This is valid only for HyperMesh standalone and is ignored within HyperWorks Desktop.  For HyperWorks Desktop, HyperGraph should be used instead.

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.

 

EXAMPLES


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}

 

ERRORS


None.

 

SEE ALSO


*registerexternalreader()

*registerimporttemplate()

*registertemplexfunction()

Configuration File Commands