opt = jsondecode(fileread('config.json'));
taskpath = opt.aaa.taskpath;
taskrootpath = opt.aaa.taskrootpath;
logpath = [taskpath,'/',opt.aaa.logpath];
errorpath = [taskpath,'/',opt.aaa.errorpath];
progresspath = [taskpath,'/',opt.aaa.progresspath];
destPath = [taskpath,'/',opt.aaa.outputmethod];