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 using uifigure in latest matlab #63

Open
ddwagner opened this issue Nov 4, 2023 · 1 comment
Open

Error using uifigure in latest matlab #63

ddwagner opened this issue Nov 4, 2023 · 1 comment

Comments

@ddwagner
Copy link
Contributor

ddwagner commented Nov 4, 2023

Looks like Matlab changed how uifigure works in the latest version. dicm2nii has no trouble creating the bids GUI figure on older matlab (2019a) but throws a "Error using uifigure, illegal first argument" on Matlab 2023b.

The offending line is 701 in idcm2nii.m
Referring to the figure args at line 692.

Specifically the first argument: 'bids'*256.^(0:3)'
As far as I can tell, it's there for octave support but doesn't do anything in matlab. Looks like 2019a ignored it but 2023b is a bit pickier.

Removing it has no apparent effect other than getting rid of the error.

@xiangruili
Copy link
Owner

Fixed as suggested. Thanks.

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