lsqcurvefit command window exit flag suppression
조회 수: 1 (최근 30일)
이전 댓글 표시
lsqcurvefit dumps its exit flags in the work space. i.e
lsqcurvefit stopped because the problem appears to be locally singular.
or
Optimization completed because the size of the gradient is less than the default value of the function tolerance.
is there any way to suppress these outputs in the command window?
댓글 수: 0
채택된 답변
Andrew Newell
2012년 2월 14일
You could include options in your call to lsqcurvefit and set Display to 'off':
opts = optimset('lsqcurvefit');
optimset(opts,'Display','off');
... = lsqcurvefit(...,opts);
댓글 수: 3
Andrew Newell
2012년 2월 14일
opts=optimset('lsqcurvefit') sets a lot of options specific to lsqcurvefit. In practice, it probably doesn't make much difference.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Downloads에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!