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 ?

回答(2 个)

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

6 个评论

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

请先登录,再进行评论。

LI
LI 2014-2-20

0 个投票

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

1 个评论

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.

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Printing and Saving 的更多信息

标签

提问:

2014-1-14

Community Treasure Hunt

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

Start Hunting!

Translated by