-
Notifications
You must be signed in to change notification settings - Fork 122
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
Undefined function or variable 'hFig'. #22
Comments
Just for convenience's sake, here is a link to the offending line. If you put a break point on line 169, after hFig is created but before on_resize is called, does hFig exist? (I'm actually checking to see if on_resize somehow gets called before hFig is created) |
when I wrote dbstop in on_resize; after line 169. i got same error |
Sorry, not after line 169. I meant immediately before line 169. (I use the Matlab IDE and just click on the margin of the line I want to break, hence why I said "on", but really it's right before that line). |
ok dear |
dear figure is empty |
dear figure is empty . and giving the following errors . I mean same error. # Undefined function or variable 'hFig'. |
These are the same errors which i get after break point (just before the line 169). |
OK, the error message explains it. Can you confirm that you're running a version of Matlab >= R2014b? Right after hFig is set on line 167, add the following: |
I am using MATLAB 2015b |
Error is still there. sir please need your help |
Sorry, I don't have BCILAB installed. I was just going based on the errors you described. Compare the code in your vis_artifacts.m file to the one currently in the devel branch of this repository to see if they are identical around lines 167-169. If they aren't then my advice will not work because the edits will have to happen on slightly different lines. Other than that I can't help you. |
Thanks Sir |
Thanks. But the problem is still existing. I checked by comparing it to current devel branch of repository. |
I am using BCILAB-devel-1.4 version. it has only one problem. it gives an error of undefined function or variable 'hFig' . below is given error
Error in vis_artifacts/on_resize (line 299)
wPos = get(hFig,'Position');
The text was updated successfully, but these errors were encountered: