How can I use matlab functions of the 2011 version in the 2014 version?

1 次查看(过去 30 天)
I have installed matlab 2011, and I use it to minimize a function with fminunc but when I minimize the same function in matlab 2014 (on another computer) I get an error message. ¿Has anyone had a similar problem with the newer versions? Could you please guide me how to resolve this problem?
I thought to use the optimization functions of the 2011 version in the 2014 version, something like an addpath, but I do not know how to do this.
I attached my files, the program I want to run is modelo_dsge, as you can see there, it invokes the function posterior_hod: fminunc(@posterior_hod,parameters)
Thank you Sorry for my english Aldo

回答(1 个)

John D'Errico
John D'Errico 2015-10-13
You cannot use an older release toolbox with a newer MATLAB version. Period.
If you do not have the comparative release of that toolbox, you cannot use fminunc.

类别

Help CenterFile 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!

Translated by