Error Message "Singular Matrix in LUDCMP -STOP"
显示 更早的评论
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 个评论
Walter Roberson
2021-1-25
That is a message from a function LUDCMP which is LU Decomposition. However, at the moment I do not see any evidence that it is used by MATLAB.
Try
restoredefaultpath; rehash toolboxcache
and see if the problem goes away. If it does then you have something added to your MATLAB path that is interfering.
Omar Khalifa
2021-1-25
Omar Khalifa
2021-1-25
Omar Khalifa
2021-2-4
Walter Roberson
2021-2-4
Something in the original directory was interfering
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!