From octave-sources-request at bevo dot che dot wisc dot edu Sun Sep 5 06:39:54 1999 Subject: Dumping tools : From: etienne grossmann To: octave-sources at bevo dot che dot wisc dot edu CC: etienne at isr dot ist dot utl dot pt Date: Sun, 5 Sep 1999 12:38:43 +0100 (WEST) Hello, I have just ported to octave 2.1.14 some utilities : cmpany(x,y) # returns one if x and y are the same object. Should # work for matrices, strings, structs and # lists. Should work with 2.0.14. s = any2str( x ) # Writes the object x as a string y = eval(s) cmpany(x,y) # Should be 1 # Write to myfilename.m the variables x,y,... any2m('myfilename',x,y,...) clear x y ... # x,y ... should be as before they were cleared eval('myfilename') Shall I post them here ? There is a small test suite too. Etienne