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:
Maximum recursion limit of 500 reached.

Subject: Maximum recursion limit of 500 reached.

From: Francesco Milano

Date: 24 Nov, 2011 12:39:08

Message: 1 of 6

Hi guys,
I'm a student and i use Matlab from October 2011.
I have a problem with this message of error:

??? Maximum recursion limit of 500 reached. Use set(0,'RecursionLimit',N)
to change the limit. Be aware that exceeding your available stack space can
crash MATLAB and/or your computer.

Error in ==> gui_mainfcn>local_isInvokeActiveXCallback

 
??? Error while evaluating uicontrol Callback

How I Can do to solve this problem?

Thanks

Subject: Maximum recursion limit of 500 reached.

From: Rune Allnor

Date: 24 Nov, 2011 13:03:32

Message: 2 of 6

On 24 Nov, 13:39, "Francesco Milano" <fnc.mil...@gmail.com> wrote:
> Hi guys,
> I'm a student and i use Matlab from October 2011.
> I have a problem with this message of error:
>
> ??? Maximum recursion limit of 500 reached. Use set(0,'RecursionLimit',N)
> to change the limit.  Be aware that exceeding your available stack space can
> crash MATLAB and/or your computer.
>
> Error in ==> gui_mainfcn>local_isInvokeActiveXCallback
>
> ??? Error while evaluating uicontrol Callback
>
> How I Can do to solve this problem?
>
> Thanks

I already answered the question. There is no
point in trying to have others do your own
work for you.

Rune

Subject: Maximum recursion limit of 500 reached.

From: Francesco Milano

Date: 24 Nov, 2011 13:40:10

Message: 3 of 6

Rune Allnor <allnor@tele.ntnu.no> wrote in message <14ea2098-9d9f-4571-8eed-62900f795691@f29g2000yqa.googlegroups.com>...
> On 24 Nov, 13:39, "Francesco Milano" <fnc.mil...@gmail.com> wrote:
> > Hi guys,
> > I'm a student and i use Matlab from October 2011.
> > I have a problem with this message of error:
> >
> > ??? Maximum recursion limit of 500 reached. Use set(0,'RecursionLimit',N)
> > to change the limit.  Be aware that exceeding your available stack space can
> > crash MATLAB and/or your computer.
> >
> > Error in ==> gui_mainfcn>local_isInvokeActiveXCallback
> >
> > ??? Error while evaluating uicontrol Callback
> >
> > How I Can do to solve this problem?
> >
> > Thanks
>
> I already answered the question. There is no
> point in trying to have others do your own
> work for you.
>
> Rune

Thanks for your response but i want say where i must edit the code.
In the editor?
I have created an axes for view an image and a pushbutton. The callback of button have this code:

I=imread('file.tif');
imshow(I)

The rest of code is empty. Where are the function for edit?

Subject: Maximum recursion limit of 500 reached.

From: Francesco Milano

Date: 24 Nov, 2011 13:54:08

Message: 4 of 6

Rune Allnor <allnor@tele.ntnu.no> wrote in message <14ea2098-9d9f-4571-8eed-62900f795691@f29g2000yqa.googlegroups.com>...
> On 24 Nov, 13:39, "Francesco Milano" <fnc.mil...@gmail.com> wrote:
> > Hi guys,
> > I'm a student and i use Matlab from October 2011.
> > I have a problem with this message of error:
> >
> > ??? Maximum recursion limit of 500 reached. Use set(0,'RecursionLimit',N)
> > to change the limit.  Be aware that exceeding your available stack space can
> > crash MATLAB and/or your computer.
> >
> > Error in ==> gui_mainfcn>local_isInvokeActiveXCallback
> >
> > ??? Error while evaluating uicontrol Callback
> >
> > How I Can do to solve this problem?
> >
> > Thanks
>
> I already answered the question. There is no
> point in trying to have others do your own
> work for you.
>
> Rune

Excuse me if I have disturbed Rune Lord his job. I thought this group could ask for help for any kind of problem.
I thought also that we could learn from more experienced people, but maybe not. I wish you much good. Have a nice day

Subject: Maximum recursion limit of 500 reached.

From: Steven Lord

Date: 24 Nov, 2011 17:09:08

Message: 5 of 6

"Francesco Milano" wrote in message <jalia0$9ce$1@newscl01ah.mathworks.com>...

*snip*

> Excuse me if I have disturbed Rune Lord his job. I thought this group could ask for help for any kind of problem.
> I thought also that we could learn from more experienced people, but maybe not. I wish you much good. Have a nice day

Francesco,

Today is the Thanksgiving holiday in the US and so many readers of this group are likely with their families watching football and preparing to enter a tryptophan coma due to eating too much turkey. I haven't been watching the group too closely while I've been on vacation with my family, so I don't know if you asked this question in another thread previously (as would seem to be the case from Rune's response) but if you have, and you're not satisfied with Rune's response in that thread, please wait until someone else responds (probably tomorrow if none of the other non-US readers respond) or ask a clarifying question in that thread instead of starting a new thread. Thanks and happy Thanksgiving to everyone.

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

Subject: Maximum recursion limit of 500 reached.

From: Mehryar

Date: 4 Apr, 2013 15:33:16

Message: 6 of 6

Hi

Try this in Matlab's workspace:

set(0, 'RecursionLimit', 100000)

Then run your code again.

Regards
Mehryar

"Francesco Milano" wrote in message <jaldtc$q91$1@newscl01ah.mathworks.com>...
> Hi guys,
> I'm a student and i use Matlab from October 2011.
> I have a problem with this message of error:
>
> ??? Maximum recursion limit of 500 reached. Use set(0,'RecursionLimit',N)
> to change the limit. Be aware that exceeding your available stack space can
> crash MATLAB and/or your computer.
>
> Error in ==> gui_mainfcn>local_isInvokeActiveXCallback
>
>
> ??? Error while evaluating uicontrol Callback
>
> How I Can do to solve this problem?
>
> Thanks

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