get(gca,'Type') returns 'Axes'
get(gcf,'Type') returns 'Figure'
In matlab these strings are all lowercase: 'axes' and 'figure'. Is this an intentional difference?
I can imagine some function want to compare these return strings to some value to check what kind of objects it is dealing with, and then the case will be important.
(Disclaimer: I am only reading the matlab documentation, I haven't tried it)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
get(gca,'Type') returns 'Axes'
get(gcf,'Type') returns 'Figure'
In matlab these strings are all lowercase: 'axes' and 'figure'. Is this an intentional difference?
I can imagine some function want to compare these return strings to some value to check what kind of objects it is dealing with, and then the case will be important.
(Disclaimer: I am only reading the matlab documentation, I haven't tried it)
If it's incompatoble with matlab then I consider it a bug. Can you please file it as a bug report?
Bug 1571211. I also verified it in matlab.