outputFcn_global
バージョン 1.0.2 (66 KB) 作成者:
Daniel Frisch
OutputFcn for Matlab Optimizers to capture intermediate optimization results.
outputFcn_global()
OutputFun for optimizers (fminunc, fmincon etc), saving intermediate results
in global variable "outputFcn_global_data" for later access.
It is not supposed for live updates during optimization but for
later inspection, which is much more efficient.
Usage
options = optimoptions( ... , 'OutputFcn',@outputFcn_global );
[XOpt,fval,exitflag,output] = fminunc(@fun, X0, options);
outputFcn_global_data(k).x
See also the supplied example file.
引用
Daniel Frisch (2024). outputFcn_global (https://www.mathworks.com/matlabcentral/fileexchange/80831-outputfcn_global), MATLAB Central File Exchange. 取得済み .
MATLAB リリースの互換性
作成:
R2020b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linuxタグ
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!