function setup() % to execute once after cloning the repo. createDefaultConfigFile(); addpath(genpath(pwd)); end function createDefaultConfigFile() defaultConfig.maxSCaseIDDigits = 3; defaultConfig.SCaseIDValidTypes = ["N", "P"]; defaultConfig.pythonDir = "/shoulder/methods/python/rcseg"; defaultConfig.dataDir = "/shoulder/dataDev"; fid = fopen('config.json','w'); fprintf(fid, replace(jsonencode(defaultConfig), ",", ",\n")); fclose(fid); end