diff --git a/mcxlab/mcxlab.m b/mcxlab/mcxlab.m index 05a4c553..42e7d1b7 100644 --- a/mcxlab/mcxlab.m +++ b/mcxlab/mcxlab.m @@ -449,7 +449,12 @@ if (isstruct(varargin{1})) for i = 1:length(varargin{1}) - castlist = {'srcpattern', 'srcpos', 'detpos', 'prop', 'workload', 'srcdir', 'srciquv'}; + castlist = {'srcpattern', 'srcpos', 'detpos', 'prop', 'workload', 'srcdir', 'srciquv', 'isnormalized' + 'isreflect', 'nphoton', 'nblocksize', 'nthread', 'tstart', 'tend', 'maxdetphoton', 'maxgate' + 'respin', 'isref3', 'isrefint', 'isgpuinfo', 'issrcfrom0', 'autopilot', 'minenergy', 'unitinmm' + 'voidtime', 'issavedet', 'issaveseed', 'issaveref', 'issaveexit', 'ismomentum', 'isspecular' + 'replaydet', 'maxvoidstep', 'maxjumpdebug', 'gscatter', 'srcnum', 'srcid', 'omega', 'issave2pt' + 'lamda', 'steps', 'crop0', 'crop1'}; for j = 1:length(castlist) if (isfield(varargin{1}(i), castlist{j})) varargin{1}(i).(castlist{j}) = double(varargin{1}(i).(castlist{j}));