|
|
 | | From: | Mamo | | Subject: | save as | | Date: | Mon, 24 Jan 2005 04:54:52 -0500 |
|
|
 | Hello,
I wanted to save a 'work space' using the following callback in GUI in matlab.it saves but when I want to open it again it is not something that I wanted it to be.Who can suggest improvements?
Regards, Mamo
filename, pathname, filterindex] =uiputfile({'*.bmp';'*.fig';'*.jpeg';'*.pcx';'*.tif';'*.xwb'},'Save as') ; save
|
|
 | | From: | Jérôme | | Subject: | Re: save as | | Date: | Mon, 24 Jan 2005 05:03:00 -0500 |
|
|
 | Hi,
looking at the command I'm not sure to understand what you done :
It seems that you want to save image :
uiputfile({'*.bmp';'*.fig';'*.jpeg';'*.pcx';'*.tif';'*.xwb'}
then use imwrite or saveas (for .fig)
If you want to save variables then using simple command :
save
creates a mat file called matlab.mat
I don't understand why you are using uiputfile if you don't use filename variable later !
Jérôme
|
|
|