Hi all, I am writing an M-file to solve my non-linear equation system. Finally it works, but the problem is sometimes it takes about 20 seconds for a solution, sometimes the computer is just suspended. Even when I run the 1st time, it's ok, then rerun (same parameters), it gets stuck. Can anyone tell me what probably the reasons for that? Thank you.