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 in GetImage when setting up on new computer #1

Open
cp649 opened this issue Jul 28, 2022 · 2 comments
Open

Error in GetImage when setting up on new computer #1

cp649 opened this issue Jul 28, 2022 · 2 comments

Comments

@cp649
Copy link

cp649 commented Jul 28, 2022

I have managed to use the code successfully on a personal laptop on MATLAB 2021a.
I have tried to use it on a different computer with MATLAB 2020b and then (in the process of troubleshooting) also 2021b.
The error I get is "Failed to 1 FreezeVideo: r = 178" which appears if you let MATLAB open for several seconds or after getting the image. If I run Install64.m and then run ThorVideo quickly after, I get the image live for a few seconds before that error pops up. I am trying to troubleshoot why the error occurs, how does it happen that there is a delay before I get this error and what I can do differently to make it functional on a second machine.

@cp649
Copy link
Author

cp649 commented Jul 28, 2022

To add one more thing I noticed, the image figure cannot be closed once this error has occurred and MATLAB needs to be closed from the task manager. I am not sure if this helps in troubleshooting.

@SeymourGabe
Copy link

Hi cp649! I fixed the first issue you mentioned. Please see the Pull Request titled 'Fixed the error 'Failed to 1 FreezeVideo...' which halted the Matlab script' for this fix.
As for the error closing the figure, I was able to Google this error and how to close the figure. However, I have not had this issue since implementing the fix in the pull request.

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