Parent Directory
|
Revision Log
|
Revision Graph
- add help sections at the top.
1 | function display(a) |
2 | %overloaded gcmfaces display function : |
3 | % displays the gcmfaces object content and attributes |
4 | |
5 | stg = sprintf(' nFaces: %d\n',a.nFaces); |
6 | for iFace=1:a.nFaces; |
7 | eval(['tmp1=a.f' num2str(iFace) ';']); tmp1=size(tmp1); |
8 | tmp2='['; |
9 | for ii=1:length(tmp1); tmp2=[tmp2 num2str(tmp1(ii)) 'x']; end; |
10 | tmp2=[tmp2(1:end-1) ' ' class(tmp1) ']']; |
11 | stg=strvcat(stg,[' f' num2str(iFace) ': ' tmp2]); |
12 | end; |
13 | disp(stg) |
14 |
ViewVC Help | |
Powered by ViewVC 1.1.22 |