neuroelf / neuroelf-matlab

NeuroElf (MATLAB)
Other
15 stars 14 forks source link

Update aft_MaskWithMSK.m #6

Closed igorkagan closed 2 years ago

igorkagan commented 3 years ago

Hi Jochen - I removed "&& isfield(bc.Map(mc).RunTimeVars)" from line 117 - typo with a wrong syntax?

neuroelf commented 2 years ago

Hey Igor, thanks!! I didn't even notice that. The correct function is "isstruct" (to test whether bc.Map(mc).RunTimeVars is indeed a struct, rather than an empty double or so).