Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Run m file by pressing push button in matlab guide

Subject: Run m file by pressing push button in matlab guide

From: Haiyu

Date: 17 Jul, 2013 05:19:10

Message: 1 of 2

I want to achieve some calculation after typing some inputs for the parameters through GUI. I tried to follow the instruction in matlab guide to build the interface. But when I run the pushbutton callback, there are some errors as follows.

Error in
GUI>pushbutton1_Callback (line
405)
run(****);

Error in gui_mainfcn (line 96)
        feval(varargin{:});

Error in GUI (line 42)
    gui_mainfcn(gui_State,
    varargin{:});

Error in
@(hObject,eventdata)GUI('pushbutton1_Callback',hObject,eventdata,guidata(hObject))

 
Error while evaluating uicontrol Callback

Someone have suggestions to solve this problem? Thanks and I appreciate your time.

Subject: Run m file by pressing push button in matlab guide

From: Lysimachos-Ioannis

Date: 6 Oct, 2013 13:51:08

Message: 2 of 2


I am facing the same problem. Did you finally manage to fix it? If yes, please tell me.

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us