HELP for Error in gui_mainfcn(sui_State, varargin {:})

1 view (last 30 days)
how to generate a .fig file because I only have a .m file ?

Answers (1)

Rik
Rik on 23 May 2020
You have a problem if you don't have the fig file of a GUIDE GUI. You need both the m file and the fig file. This is one of the many downsides of GUIDE.
(it is possible to generate the code that creates a figure, but thus is not often done)
  3 Comments
Rik
Rik on 23 May 2020
There are two ways to fix this:
  1. get the fig file from the person who created the GUI
  2. recreate the figure from scratch
Next time I would suggest not using GUIDE.

Sign in to comment.

Categories

Find more on Migrate GUIDE Apps in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!