How to see (in Command Window) all possible fields of a structure?
조회 수: 5 (최근 30일)
이전 댓글 표시
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
댓글 수: 0
채택된 답변
추가 답변 (1개)
Image Analyst
2015년 8월 16일
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
Image Analyst
2015년 8월 16일
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.
참고 항목
카테고리
Help Center 및 File Exchange에서 Graphics Performance에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!