Nohup, Comsol and Matlab

When you want to use a Matlab script to perform simulations with Comsol, a remote server is often used. This post is a quick note to help you creating matlab scripts that would be run on a remote server. The strategy is the following. We will use the nohup command to let the server do the simulations while we will turn off our computer. Without the nohup, turning off your computer would result in breaking the ssh connexion, and thus, the matlab/comsol processes that were running. »