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 日

0 投票

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

6 件のコメント

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

サインインしてコメントする。

LI
LI 2014 年 2 月 20 日

0 投票

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

1 件のコメント

Image Analyst
Image Analyst 2014 年 2 月 20 日
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 ExchangePrinting and Saving についてさらに検索

タグ

質問済み:

2014 年 1 月 14 日

コメント済み:

2014 年 2 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by