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

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

Respuestas (1)

John D'Errico
John D'Errico el 13 de Oct. de 2015
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.

Categorías

Etiquetas

Preguntada:

el 13 de Oct. de 2015

Comentada:

el 14 de Oct. de 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by