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

1 view (last 30 days)
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

Answers (1)

John D'Errico
John D'Errico on 13 Oct 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.

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!