> Doesn't change the value.
Hmm, okay. Does openfig do anything? How about this test code:
--- Code ---
h = figure
peaks
savefig (h, 'myfig.fig')
h2 = openfig ('myfig.fig')
get (h2, 'FileName')
--- End Code ---
--Rik
h =
Figure (1) with properties:
Number: 1
Name: ''
Color: [0.9400 0.9400 0.9400]
Position: [360 198 560 420]
Units: 'pixels'
Show all properties
z = 3*(1-x).^2.*exp(-(x.^2) - (y+1).^2) ...
- 10*(x/5 - x.^3 - y.^5).*exp(-x.^2-y.^2) ...
- 1/3*exp(-(x+1).^2 - y.^2)
h2 =
Figure (2) with properties:
Number: 2
Name: ''
Color: [0.9400 0.9400 0.9400]
Position: [364 191 560 420]
Units: 'pixels'
Show all properties
ans =
'/home/siko1056/Downloads/myfig.fig'