Azzera filtri
Azzera filtri

how to eliminate gui_mainfcn(gui_State, varargin{:}); error

11 visualizzazioni (ultimi 30 giorni)
code file is attached
Error in ==> gui_mainfcn at 96 feval(varargin{:});
Error in ==> test1 at 41 gui_mainfcn(gui_State, varargin{:});
  4 Commenti
Walter Roberson
Walter Roberson il 3 Mar 2018
The cause of this particular Question was that a .fig file had been used that did not match the .m code. The user had the .m code from a project but not the .fig file and was trying to create the matching .fig file.
If that is not your situation then you should create a new Question with the complete MATLAB error message. (This is not an Octave resource; octave-specific errors often do not get investigated here.)
Gio Cliff
Gio Cliff il 10 Mag 2021
gui_mainfcn(gui_state, varargin {:});

Accedi per commentare.

Risposte (2)

Walter Roberson
Walter Roberson il 1 Gen 2016
Insufficient information. We need the entire content of the error message.
Some people might suspect that this is the same question as http://uk.mathworks.com/matlabcentral/answers/262320-how-to-eliminate-the-uicontrol-callback-error, but of course you would not post the same question twice so we cannot use that question to guess about the missing information for this question.
  3 Commenti
Walter Roberson
Walter Roberson il 1 Gen 2016
How does this differ from http://uk.mathworks.com/matlabcentral/answers/262320-how-to-eliminate-the-uicontrol-callback-error ? I am not going to investigate the same problem twice, and if this is the same question as before then this present question will need to be deleted as a duplicate question in which case it would be inappropriate to respond here.
Adnan Saify
Adnan Saify il 1 Gen 2016
ok i mam really sorry for this i am deleting this question asap you can comment on previous question

Accedi per commentare.


yousif Hamad
yousif Hamad il 13 Gen 2018
its easy to solve this problem, just check what you add to the GUI AS MENU OR BUTTON and you delete the his code at the main file ,just delete it and create again

Categorie

Scopri di più su Entering Commands in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by