Order workspace variables by order of appearance?

5 views (last 30 days)
Ga Nuj
Ga Nuj on 20 Feb 2015
Answered: Adam on 20 Feb 2015
Is there a way to order the workspace variable by order of appearance in the code (i.e. creation)? E.g. if I have in the code a=2; d=10; b=4; that the workspace would show a, d, b in that order? Would make debugging easier... Thanks!

Answers (1)

Adam
Adam on 20 Feb 2015
I'm fairly certain there isn't. Generally I give my variables meaningful names so I naturally want to look for that meaningful name in its alphabetic order!

Categories

Find more on Language Fundamentals in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!