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

[BUG]: Stimulation amplitude cannot be set correctly (old programmer) #1210

Open
alessiaca opened this issue Jul 24, 2024 · 2 comments
Open
Labels

Comments

@alessiaca
Copy link

When trying to set the stimulation amplitude in the old programmer the GUI behaves in an unexpected way. When I input a number (e.g. 3), it is not immediately updated but takes ~2 seconds. Also, if I input a number with a decimal point, it shows NaN. The only way I found to set numbers with decimal points was to first input the number, wait 2 seconds, click outside and inside of the field again and then add the decimal point. I think it may be related to the Matlab version because I did not have this problem with Matlab 2022.

See the video https://drive.google.com/file/d/1J1e2ymktn0_Krx0CgrIEC4u6lYZpAgxj/view?usp=sharing

  • MATLAB version R2023b
  • Lead-DBS developement version
  • Lead-DBS setup: cloned github repository (development branch)
@alessiaca alessiaca added the bug label Jul 24, 2024
@ningfei
Copy link
Collaborator

ningfei commented Aug 6, 2024

Hi Alessia, thanks for reporting this and sorry for the late reply! You were right. Seems supporting for GUIDE based GUI is not working so well for MATLAB version >= 2023a. I saw the same issue when I tested on Linux and Mac using MATLAB 2024a. But it works with MATLAB 2022b. Will see if I can find a solution for this.

@ningfei
Copy link
Collaborator

ningfei commented Sep 2, 2024

Hi @alessiaca it should work better with this latest commit 53490db. But might be slower since it uses AppDesigner now. Let me know if you still have issue using it.

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

No branches or pull requests

2 participants