Matlab toolbox change detection