Parent Directory
|
Revision Log
|
Revision Graph
- add help sections at the top.
1 | gforget | 1.1 | function a = set(a,varargin) |
2 | gforget | 1.2 | %overloaded gcmfaces set function : |
3 | % V = SET(H,'PropertyName',PropertyValue) sets the value of the specified | ||
4 | % attribute (e.g. nFaces and gridType) of a gcmfaces object H. | ||
5 | gforget | 1.1 | |
6 | propertyArgIn = varargin; | ||
7 | while length(propertyArgIn) >= 2, | ||
8 | propName = propertyArgIn{1}; | ||
9 | val = propertyArgIn{2}; | ||
10 | propertyArgIn = propertyArgIn(3:end); | ||
11 | eval(['a.' propName '=val;']); | ||
12 | end | ||
13 |
ViewVC Help | |
Powered by ViewVC 1.1.22 |