You can use the MATLAB® Guide or App Designer functionality to create a GUI and connect the interface to a COMSOL Multiphysics
model object. Each operation in the GUI sets the value of a MATLAB variable or calls a MATLAB command. You can call commands at the MATLAB prompt to set up a COMSOL model object or set MATLAB variables in the COMSOL model object.