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 ?

Antworten (2)

Azzi Abdelmalek
Azzi Abdelmalek am 14 Jan. 2014
Bearbeitet: Azzi Abdelmalek am 14 Jan. 2014

0 Stimmen

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

6 Kommentare

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

Melden Sie sich an, um zu kommentieren.

LI
LI am 20 Feb. 2014

0 Stimmen

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

1 Kommentar

Image Analyst
Image Analyst am 20 Feb. 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.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Creating, Deleting, and Querying Graphics Objects finden Sie in Hilfe-Center und File Exchange

Tags

Gefragt:

am 14 Jan. 2014

Kommentiert:

am 20 Feb. 2014

Community Treasure Hunt

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

Start Hunting!

Translated by