Implementation of COMSOL Multiphysics® in Simulink® S-Functions, Revisited
COMSOL Multiphysics® has standard facilities to export models to SimuLink®. Normally, the standard export works well if the solvers, available in SimuLink, can handle the problem. However, if a model in COMSOL Multiphysics® needs special solvers, for example airflow or other non-linear problems, the standard export to SimuLink is often not suitable, because the standard solvers of SimuLink® cannot handle such a problem efficiently. This can cause long simulation duration times. Similar earlier work, based on FemLab (former COMSOL Multiphysics), was already published in 2005. Due to the quite different MATLAB® interface in COMSOL Multiphysics® compared with FemLab, it is worthwhile to update this past work to the most recent version.