Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error using zeroinsert #2

Open
halphenfang opened this issue Jun 10, 2024 · 0 comments
Open

Error using zeroinsert #2

halphenfang opened this issue Jun 10, 2024 · 0 comments

Comments

@halphenfang
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant