# function

Version:

Defines a user-defined function. You can call user-defined functions from every MathScript inside a MathScript Node. The user-defined function and the MathScript Node must both exist in your current project. User-defined functions have the lowercase file extension .m. You cannot define sub-functions or multiple functions in one m file. The general calling structure of function is:

function outputs = function_name(inputs)

script

end

## Syntax

function

Where This Node Can Run:

Desktop OS: Windows

FPGA: DAQExpress does not support FPGA devices