The following example creates an empty history object.
h1 = history() -------- None / $Id: history.m,v 1.21 2008/03/17 09:16:36 mauro Exp created: 2008-03-30 15:25:55.503 Inputs: Parameters ---------- ----------- plist 01 ----------- n params: 0 -------------------------------- Histories --------- n input histories: 0 --------------------------------------------------------------------------
h1 = history('h1.mat') h1 = history('h1.xml')
h1 = history('my name', 'my ver')
The h1 property 'name' have the content 'my name' and the h1 property 'version have the content 'my version'
pl = plist('key', 'value'); h1 = history('my name', 'my ver', pl)
pl = plist('key', 'value'); histin = [history('fcn1_1', 'Ver') history('fcn1_2', 'ver')]; h1 = history('fcn2', 'ver', pl, histin)
This picture illustrates the hierarchy of the history objects.