MATLAB Interface

MATLAB DLL functions created by the MATLAB Compiler on Windows PCs can be registered as math functions in HyperGraph. To use the math functions, MCR must be installed on the machine running HyperWorks.

Call an External Program from within a Math Function

  1. Click Functions....
  2. From the Functions list, select the extern function and click OK.

Or

  1. Double-click the extern function displayed in the Functions list.
    The extern function is inserted into the expression.

Or

  1. Type extern followed by any necessary arguments.
  2. Enter the name of the external program as the first argument in the function.
  3. Enter any parameters to be passed to the external program as additional function arguments.
  4. Click Apply.
    The external program is executed when the X and Y math expressions are evaluated. Once the data vectors are processed, the curve is displayed in the plot.