Home > classes > @provenance > char.m

char

PURPOSE ^

CHAR convert a provenance object into a string.

SYNOPSIS ^

function pstr = char(p)

DESCRIPTION ^

 CHAR convert a provenance object into a string.

 M Hewitson 04-02-07

 $Id: char.html,v 1.2 2007/07/10 05:37:11 hewitson Exp $

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function pstr = char(p)
0002 
0003 % CHAR convert a provenance object into a string.
0004 %
0005 % M Hewitson 04-02-07
0006 %
0007 % $Id: char.html,v 1.2 2007/07/10 05:37:11 hewitson Exp $
0008 %
0009 
0010 
0011 pstr = sprintf('created by %s@%s[%s] on %s/%s/%s at %s', ...
0012                 get(p, 'creator'),...
0013                 get(p, 'hostname'),...
0014                 get(p, 'ip'),...
0015                 get(p, 'os'),...
0016                 get(p, 'matlab_version'),...
0017                 get(p, 'ltpda_version'),...
0018                 datestr(get(p, 'created'),31));
0019 
0020 
0021 % END

Generated on Wed 04-Jul-2007 19:03:10 by m2html © 2003