Creating Methods
The following sections describe the tools for writing code and creating methods:
See also the COMSOL Multiphysics Programming Reference Manual for information about the built-in methods for working with the model object available in COMSOL Multiphysics (listed there except for physics interfaces).
In the Model Builder, you can right-click nodes in the model and choose options from the Copy as Code to Clipboard menu to create code automatically that you can paste into your methods.