.fig won't open

조회 수: 57 (최근 30일)
Gavin Seddon
Gavin Seddon 2016년 6월 22일
댓글: ROHIT KUMAR RASTOGI 2022년 1월 3일
I have created a.fig file which is set to 'visible' however when I try and open this either using File >Open or openfig it is not seen. All suggestions I have found on the web suggest setting it to 'visible'. Can anyone help?
  댓글 수: 2
Star Strider
Star Strider 2016년 6월 22일
The best approach is to upload your .fig file here so we can see if we can reproduce the problem.
ROHIT KUMAR RASTOGI
ROHIT KUMAR RASTOGI 2022년 1월 3일
openfig('Bode_plot_(unstable).fig')

댓글을 달려면 로그인하십시오.

답변 (2개)

gringer45
gringer45 2021년 2월 3일
I would try something like this. Although in your case the figure is already 'visible' 'on' and setting the visibility is not needed.
openfig('DTfit_1.0.fig')
f = gcf;
set(f,'visible','on')
  댓글 수: 1
Ryan Godwin
Ryan Godwin 2021년 7월 20일
편집: Ryan Godwin 2021년 7월 20일
I was having a similar problem and this solution worked for me! As others have commented the other answer is incorrect, maybe this one should be changed to the accepted answer.

댓글을 달려면 로그인하십시오.


Shameer Parmar
Shameer Parmar 2016년 6월 22일
for your a.fig, do you have a.m file available with you? if yes, then you can run that .m file and or call that .m file wherever you want, then that fig file (GUI) will open..
If you want to edit that .fig file, then use ' guide' command.
Run guide command then go to tab for ' open existing GUI' browse your .fig file and the edit it..
  댓글 수: 5
Guillaume
Guillaume 2016년 7월 21일
That figure is definitively not a gui figure and opening it with guide will discard most of it. The accepted answer is completely wrong.
I have no problem opening that figure (with openfig or simple double-click) and it is immediately visible.
gringer45
gringer45 2021년 2월 3일
I agree this answer is 100% wrong.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by