Menu

type values Capitalized

2006-10-04
2013-04-25
  • Tormod Volden

    Tormod Volden - 2006-10-04

    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)

     
    • Shai Ayal

      Shai Ayal - 2006-10-05

      If it's incompatoble with matlab then I consider it a bug. Can you please file it as a bug report?

       
      • Tormod Volden

        Tormod Volden - 2006-10-05

        Bug 1571211. I also verified it in matlab.

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.