Storing no.of iterations taken by optimization algorithm in a variable automatically.
조회 수: 2 (최근 30일)
이전 댓글 표시
How to store number of iterations taken by optimization algorithm in a variable automatically inside a script file. I am aware that there is a way to display number of iterations using options but don't know how to save it in a variable in side the script itself without manually entering.
댓글 수: 1
Torsten
2022년 12월 21일
output.iterations returns the number of iterations.
Look at what the structure "output" contains under
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Get Started with Optimization Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!