when slice:30 reference slice:29
Error:index exceeds matrix dimensions why ??
when slice:30 reference slice:2
Error:An UndefinedFunction error was thrown on the workers for 'file2mat'. This might be because the file containing 'file2mat' is not accessible on the workers. Use addAttachedFiles(pool, files) to specify the required files to be attached. See the documentation for 'parallel.Pool/addAttachedFiles' for more details.