outputFcn_global
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.
Zitieren als
Daniel Frisch (2026). outputFcn_global (https://de.mathworks.com/matlabcentral/fileexchange/80831-outputfcn_global), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxTags
Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
outputFcn_global
| Version | Veröffentlicht | Versionshinweise | |
|---|---|---|---|
| 1.0.2 | Updated documentation |
||
| 1.0.1 | Added image |
||
| 1.0.0 |
