Skip to content

Error using zeroinsert #2

Description

@halphenfang

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);

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions