How to see (in Command Window) all possible fields of a structure?
Ältere Kommentare anzeigen
Let say I have an axes handle stored to "ax". How could I display all possibilities for let say ax.Units (or any other field)?
Thanks
Akzeptierte Antwort
Weitere Antworten (1)
Image Analyst
am 16 Aug. 2015
0 Stimmen
This must be a homework problem because Azzi just answered it two hours ago and told the student to use the fieldnames() function. You should tag homework problems with the "homework" tag. I'll do it now for you.
2 Kommentare
matico
am 16 Aug. 2015
Image Analyst
am 16 Aug. 2015
If you're using GUIDE, then all the option for each control's property are presented in the Property INspector in drop down list for that control. For example, the units property will show 'Characters', 'Normalized', etc. in the drop down list.
Kategorien
Mehr zu Grid Lines, Tick Values, and Labels finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!