Got Questions? Get Answers.
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:
help me....

Subject: help me....

From: faseeh babar

Date: 27 Dec, 2013 13:01:07

Message: 1 of 2

Hi i m new in gui making.i make 4 GUI in which one is my main GUI, 2nd is text,3rd is image,4th is for audio .when i run GUI individual it will work. then i run my main GUI and goes to 2nd GUI through push button it will ask me to select text. i will select text then following error will appear


Attempt to reference field of non-structure array.

Error in GUI2>text_Callback (line 92)
set(handles.text3, 'String', text);

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

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


please help me.......

Subject: help me....

From: Steven Lord

Date: 1 Jan, 2014 23:38:47

Message: 2 of 2


"faseeh babar" <fasibabar@gmail.com> wrote in message
news:l9jtmj$nds$1@newscl01ah.mathworks.com...
> Hi i m new in gui making.i make 4 GUI in which one is my main GUI, 2nd is
> text,3rd is image,4th is for audio .when i run GUI individual it will
> work. then i run my main GUI and goes to 2nd GUI through push button it
> will ask me to select text. i will select text then following error will
> appear

Make sure you execute the subsequent GUIs by executing the program files
associated with the GUIs, NOT by opening the figure file directly

--
Steve Lord
slord@mathworks.com
To contact Technical Support use the Contact Us link on
http://www.mathworks.com

Tags for this Thread

No tags are associated with 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