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
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 Exchange에서 Printing 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