view m-toolbox/classes/@provenance/getEncodedString.m @ 11:9174aadb93a5 database-connection-manager

Add LTPDA Repository utility functions into utils.repository
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Mon, 05 Dec 2011 16:20:06 +0100
parents f0afece42f48
children
line wrap: on
line source

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