diff m-toolbox/classes/@provenance/getEncodedString.m @ 0:f0afece42f48

Import.
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Wed, 23 Nov 2011 19:22:13 +0100
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/m-toolbox/classes/@provenance/getEncodedString.m	Wed Nov 23 19:22:13 2011 +0100
@@ -0,0 +1,19 @@
+function info = getEncodedString(p)
+  
+  sep  = '#';
+  info = '';
+  
+  info = [info sep p.creator];
+  info = [info sep p.ip];
+  info = [info sep p.hostname];
+  info = [info sep p.os];
+  info = [info sep p.matlab_version];
+  info = [info sep p.sigproc_version];
+  info = [info sep p.symbolic_math_version];
+  info = [info sep p.optimization_version];
+  info = [info sep p.database_version];
+  info = [info sep p.control_version];
+  info = [info sep p.ltpda_version];
+  info = [info sep 'dummy']; % version dummy. We have to keep it for backwards compatibility.
+  
+end