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 ?

Réponses (2)

Azzi Abdelmalek
Azzi Abdelmalek le 14 Jan 2014
Modifié(e) : Azzi Abdelmalek le 14 Jan 2014

0 votes

When you save your figure, you have to specify its name. You can also save it i line command
hgsave(gcf,'file.fig')

6 commentaires

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

Connectez-vous pour commenter.

LI
LI le 20 Fév 2014

0 votes

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

1 commentaire

Image Analyst
Image Analyst le 20 Fév 2014
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.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Creating, Deleting, and Querying Graphics Objects dans Centre d'aide et File Exchange

Tags

Question posée :

le 14 Jan 2014

Commenté :

le 20 Fév 2014

Community Treasure Hunt

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

Start Hunting!

Translated by