A common use of LiveLink™ for MATLAB® is to run models in a loop. MATLAB provides several functionalities to run loops, including conditional statements and error handling, and this section shows how to use that functionality together with the COMSOL API syntax to run COMSOL Multiphysics
® models in loops.