I learn MatLab myself. I have a question regarding an example field that is used in my tutorial. Define:
FallSem.course = char('cs101','phy200','math211');
FallSem.prof = char('Turling','Fiegenbaum','Ramanjuan');
FallSem.score = [80 75 95; 72 75 78; 85 35 66];
Is there any command that I can type that displays all the contents FallSem? I know how to access data in different fieds (for example, I can print FallSem.course(1,:)to get cs101), but if I just type FallSemor FallSem(1)( FallSem- this is a 1 x 1 structure), all I get is general information about fields like :
FallSem =
course: [3x7 char]
prof: [3x10 char]
score: [3x3 double]
So, if anyone knows any command that will allow me to display all the data contained, I would really appreciate it!
source
share