Error Message "Singular Matrix in LUDCMP -STOP"

7 views (last 30 days)
I am solving a multi-dimensional function using fsolve. I am trying to solve it using GA tool but then reverted and wanted to run the function using fsolve once again. Although I removed the GA solver, an error message "Singular Matrix in LUDCMP -STOP" keeps popping up in the command line. Is there a way to stop this? I have closed all the windows and even tried to run another code and the error message keeps coming. It seems the GA tool changed a setting or so. I appreciate your inputs.
I am using MATLAB R2020b, if that helps.
  5 Comments
Omar Khalifa
Omar Khalifa on 4 Feb 2021
I copied and pasted the code in another directory and it did not show the error message anymore. I do not know what was wrong!
Walter Roberson
Walter Roberson on 4 Feb 2021
Something in the original directory was interfering

Sign in to comment.

Answers (0)

Categories

Find more on Function Creation in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!