Error while saving GUI in GUIDE

Goodmorning everybody,
I'm new to GUIDE and i'm tryin' to edit a GUI, but when i try to save the work this error message appears:
"File /---myPathFile---/myFigure.fig is invalid filename, please change the "Filename" property in the inspector to a valid value, or use the Save As options"
I would to underline that im tryin to edit & save a 'copy&paste' figure from another folder.
Can anybody help me? Thank you all!

3 Comments

Adam
Adam on 2 Mar 2020
Edited: Adam on 2 Mar 2020
Never copy-paste a GUIDE GUI file in explorer, it causes a whole heap of problems. Load it into GUIDE and use Save As if you want to take a copy of it.
Is there any solutions if I have no more the original .fig file ?
You'd have to pick through and understand all the individual errors you get. In this case you should be able to just follow what the error message says, but that may just uncover the next problem. I can't remember exactly where the problems tend to appear, but I seem to remember callbacks end up needing to be manually adjusted in the Property Inspector because they refer to something in the previous file and, evidently in this case, there is the 'FileName' property which I guess refers to the previous file. That one is easy to fix at least, and if you are lucky it may be the only problem.

Sign in to comment.

Answers (0)

Categories

Find more on Interactive Control and Callbacks in Help Center and File Exchange

Asked:

on 2 Mar 2020

Commented:

on 2 Mar 2020

Community Treasure Hunt

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

Start Hunting!