Made the software more portable by replacing '/' as filepath separator by matlab wrapper functions.