update matlab_euler to cope with latest som version