diff --git a/matlab/pm3_core.m b/matlab/pm3_core.m index 84e3512de..2fdd3aa1e 100644 --- a/matlab/pm3_core.m +++ b/matlab/pm3_core.m @@ -102,7 +102,7 @@ for i=fpar:nvar end if isstruct(options_.parallel) - if options_.parallel.Local==0 + if Parallel(ThisMatlab).Local==0 DirectoryName = CheckPath('Output'); end end