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

Index exceeds the number of array elements (345465856). #19

Closed
myhuyong opened this issue Jun 10, 2019 · 3 comments
Closed

Index exceeds the number of array elements (345465856). #19

myhuyong opened this issue Jun 10, 2019 · 3 comments

Comments

@myhuyong
Copy link

Hi Jinghao Lu,
Recently, when I test my avi video from miniscope in MATLAB R2019a, I get an error message "Index exceeds the number of array elements (345465856)". Do you have any suggestion to fix this? Thank you.
Yong

@JinghaoLu
Copy link
Owner

Hi Yong,

Please provide the detailed error message, including at which step and function it comes from.

Thanks

@myhuyong
Copy link
Author

Hi Jinghao Lu,
Following is the error message. Thank you!
Yong

Begin collecting datasets info
Done collecting datasets info, time: 0.48848
Begin data cat
Index exceeds the number of array elements (360988160).

Error in data_cat (line 187)
frame = flipud(reshape(d_raw(stt(f_idx(ii)) + 1: stt(f_idx(ii)) + ndframe), pixwo, pixho)');

Error in min1pipe (line 83)
[m, filename_raw, imaxn, imeanf, pixh, pixw, nf] = data_cat(path_name, file_base{i}, file_fmt{i}, Fsi, Fsi_new,
spatialr);

Error in demo_min1pipe (line 14)
[fname, frawname, fregname] = min1pipe(Fsi, Fsi_new, spatialr, se, ismc, flag);

Error in run (line 91)
evalin('caller', strcat(script, ';'));

@JinghaoLu
Copy link
Owner

Thanks for bringing this up. It is due to a recent bug after fixing the avi reading index issue, which is now corrected and updated in the git repo.

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

2 participants