MFE Toolbox Kevin Sheppard Installation Problem
Mostrar comentarios más antiguos
Dear All,
I am having hard time in running MFE Toolbox for GARCH by Kevin Sheppard. Every time I launch my code I get an error message like that attached. It seems that there should be an installment problem. The SAME file, with the same dataset and code works perfectly on another PC of mine with MATLAB R2021a.
It looks like does not read or misinterpret some internal command.
How can I solve this problem ?
Thanks
Max Marzo
Respuestas (2)
Steven Lord
el 12 de Jul. de 2022
0 votos
From the error message it looks like that function is using a syntax for fmincon that has been discouraged for several years (and has no longer been documented for about that long.) That older syntax has a consequence that the additional parameters are passed to all the functions (objective, nonlinear constraint, and any functions in the options structure) you pass into fmincon even if those functions don't need or want them.
You could ask the author to update the syntax with which they call fmincon to use the recommended approaches for passing additional parameters.
Depending on what you're trying to do with that toolbox, another possibility is to use Econometrics Toolbox (assuming it has all the capabilities that you're using from this MFE toolbox.)
You haven't shown a whole lot of your code, but perhaps you're specifying the wrong parameter values for one of the options that you pass into fmincon.
Massimiliano Marzo
el 12 de Jul. de 2022
0 votos
Categorías
Más información sobre Event Functions en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!