CANlab_help_examples icon indicating copy to clipboard operation
CANlab_help_examples copied to clipboard

Error using zeroinsert

Open halphenfang opened this issue 1 year ago • 0 comments

When I run the function plot(image_obj); in line 33 of this script: https://github.com/canlab/CANlab_help_examples/blob/master/example_help_files/canlab_help_2b_basic_image_visualization.m

it consistently showed error as follows:

Error using zeroinsert Quitting

Error in image_vector/replace_empty (line 49) obj.dat = zeroinsert(obj.removed_images, obj.dat')';

Error in region>prep_mask_object (line 466) mask = replace_empty(mask);

Error in region (line 184) [mask, maskData] = prep_mask_object(maskinput);

Error in image_vector/orthviews (line 173) cl{i} = region(get_wh_image(image_obj, wh_image), 'contiguous_regions');

Error in fmri_data/plot>plot_orthviews (line 789) orthviews(m);

Error in fmri_data/plot (line 452) plot_orthviews(fmridat)

Error in canlab_help_2b_basic_image_visualization (line 34) plot(image_obj);

halphenfang avatar Jun 10 '24 21:06 halphenfang