No file Name specified

Hello , iam using Matlab R2013b as admin and when i show afigure and want to save it as .fig file get the error "No file name specified"
how can i fix this error ?

Answers (2)

Azzi Abdelmalek
Azzi Abdelmalek on 14 Jan 2014
Edited: Azzi Abdelmalek on 14 Jan 2014
When you save your figure, you have to specify its name. You can also save it i line command
hgsave(gcf,'file.fig')

6 Comments

Loay
Loay on 14 Jan 2014
I did sir , that why i say it's a problem
Try this
hgsave(gcf,'file.fig')
Loay
Loay on 14 Jan 2014
it's works !! but why i can't save it from GUI as usual ?
I don't know. Have you restarted your Matlab?
Loay
Loay on 14 Jan 2014
Yes I did , and restarted windows too !!
Then contact Mathworks Support

Sign in to comment.

LI
LI on 20 Feb 2014

0 votes

What did the Mathworks support say? I got the same problem!

1 Comment

If you're using Windows, it depends on where you try to save it. Many folders are "off limits", like those under the c:\program files folder and some folders even under c:\users.

Sign in to comment.

Categories

Find more on Printing and Saving in Help Center and File Exchange

Tags

Asked:

on 14 Jan 2014

Commented:

on 20 Feb 2014

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!