unable to run due to the following error..can any one help me out in dealing with the error mentioned in the body below???

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.

Answers (1)

You have a function that is directly or indirectly calling itself, and there was no exit criteria reached before it called itself 500 times. Examine your code to find out why this is happening.

Asked:

on 19 Mar 2015

Commented:

on 19 Mar 2015

Community Treasure Hunt

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

Start Hunting!