-
Notifications
You must be signed in to change notification settings - Fork 27
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: 'Array indices must be positive integers or logical values.' #60
Comments
Not sure what is going on either. It seems at least you are not using the latest version based on what is on line 20 of data_info.m. |
Hi, |
Hi @zz-rezaei it seems you are not using the uncompressed output format directly from the miniscope? Then a quick solution might be that you use whatever way (perhaps matlab built-in VideoReader) to load the video into matlab, save it as a .mat file (you can refer to the Readme file of MIN1PIPE) and then run MIN1PIPE using the .mat file you just created. For later data acquisitions you may want to use uncompressed output video format so that MIN1PIPE can handle. |
Thank you Jinghao! Before running MIN1PIPE using .mat file, I used the uncompressed output format directly from the miniscope (GREY format) as you suggested, and it worked. |
@zz-rezaei Sounds great! |
Hi,
I get the following error when I try to open videos I recorded from Miniscope V4:
Array indices must be positive integers or logical values.
Error in data_info (line 20)
ids = ids(end);
Error in min1pipe (line 68)
[path_name, file_base, file_fmt] = data_info;
Error in run (line 91)
evalin('caller', strcat(script, ';'));
Not sure what is going on...
The text was updated successfully, but these errors were encountered: