-
-
Notifications
You must be signed in to change notification settings - Fork 576
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
Raise error when saving bad variable name to mat file #1203
Comments
Alternatively, add an extra keyword argument to |
I think passing a dict of name conversion is more user-friendly that creating new variables. I guess we still raise the error and then suggest passing the dict |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If a
.mat
file has a variable name with a space in the name, MATLAB won't be able to load it. So we shouldn't save it. Raise error instead and suggest making a new variable with a more MATLAB-compatible name.We could try converting spaces to underscores, etc, but units (
[mol.m-3]
) would not work (none of [, ., - are ok)The text was updated successfully, but these errors were encountered: