0001 function xml = xml_add_hist(xml, h, node)
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011 el = xml.docNode.createElement('Provenance');
0012
0013
0014 elc = xml.docNode.createElement('Creator');
0015 elc.appendChild(xml.docNode.createTextNode(get(h, 'creator')));
0016 el.appendChild(elc);
0017
0018
0019 elc = xml.docNode.createElement('Created');
0020 elc.appendChild(xml.docNode.createTextNode(get(h, 'created')));
0021 el.appendChild(elc);
0022
0023
0024 elc = xml.docNode.createElement('IP');
0025 elc.appendChild(xml.docNode.createTextNode(get(h, 'ip')));
0026 el.appendChild(elc);
0027
0028
0029 elc = xml.docNode.createElement('Hostname');
0030 elc.appendChild(xml.docNode.createTextNode(get(h, 'hostname')));
0031 el.appendChild(elc);
0032
0033
0034 elc = xml.docNode.createElement('OS');
0035 elc.appendChild(xml.docNode.createTextNode(get(h, 'os')));
0036 el.appendChild(elc);
0037
0038
0039 elc = xml.docNode.createElement('matlab_version');
0040 elc.appendChild(xml.docNode.createTextNode(get(h, 'matlab_version')));
0041 el.appendChild(elc);
0042
0043
0044 elc = xml.docNode.createElement('sigproc_version');
0045 elc.appendChild(xml.docNode.createTextNode(get(h, 'sigproc_version')));
0046 el.appendChild(elc);
0047
0048
0049 elc = xml.docNode.createElement('ltpda_version');
0050 elc.appendChild(xml.docNode.createTextNode(get(h, 'ltpda_version')));
0051 el.appendChild(elc);
0052
0053 node.appendChild(el);
0054
0055
0056
0057