Changeset 20500 for issm/trunk/src/m/classes/outputdefinition.m
- Timestamp:
- 04/12/16 21:32:01 (9 years ago)
- Location:
- issm/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk
- Property svn:ignore
-
old new 1 build-js 2 build-esmf 3 build-gcm 1 4 build-fw 2 5 build-ad
-
- Property svn:mergeinfo changed
/issm/trunk-jpl merged: 19104,19106-19126,19128-19134,19136-19170,19172-19299,19302,19306-19405,19407-19604,19606-19668,19670-20496
- Property svn:ignore
-
issm/trunk/src
- Property svn:mergeinfo changed
-
issm/trunk/src/m/classes/outputdefinition.m
r19105 r20500 9 9 end 10 10 methods 11 function createxml(self,fid) % {{{12 fprintf(fid, '<!-- outputdefinition -->\n');13 14 % outputdefinition solution parameters15 fprintf(fid,'%s\n%s\n%s\n','<frame key="1" label="outputdefinition">','<section name="outputdefinition" />');16 fprintf(fid,'%s%s%s%s%s\n%s\n%s\n%s\n',' <parameter key ="definitions" type="',class(self.definitions),'" default="',convert2str(self.definitions),'">',' <section name="outputdefinition" />',' <help> list of potential outputs that can be requested, but which need additional data to be defined </help>',' </parameter>');17 fprintf(fid,'%s\n%s\n','</frame>');18 19 end % }}}20 11 function self = outputdefinition(varargin) % {{{ 21 12 switch nargin … … 58 49 WriteData(fid,'data',enums,'enum',OutputdefinitionListEnum(),'format','DoubleMat','mattype',1); 59 50 end % }}} 51 function savemodeljs(self,fid,modelname) % {{{ 52 53 fprintf(fid,'%s.outputdefinition.definitions=[];\n',modelname); 54 if ~isempty(self.definitions), 55 error('outputdefinition savemodeljs error message: not supported yet!'); 56 end 57 58 end % }}} 60 59 end 61 60 end
Note:
See TracChangeset
for help on using the changeset viewer.