[Freesurfer] custom fill function for matlab