|
The External function is only available with the Global Definitions node. See also model.func() in the COMSOL Multiphysics Programming Reference Manual for details about the interface to external functions, including an example and information about compiling the function on the supported platforms. You must define three functions: init, eval, and getLastError, and for the numerical evaluation, the inputs should be arrays.
|
|
To run external code, select the Allow external processes checkbox on the Methods and Java Libraries page, under Security, in the Preferences window.
|
|
Go to Common Settings for the Function Nodes for information about the Derivatives and Plot Parameters sections.
|