Skip to content
Snippets Groups Projects
Commit 8edb7959 authored by Johannes Pfeifer's avatar Johannes Pfeifer
Browse files

dynare_minimize_objective.m: correct error message for missing toolboxes

parent e1a5a4e1
No related branches found
No related tags found
No related merge requests found
...@@ -631,9 +631,9 @@ switch minimizer_algorithm ...@@ -631,9 +631,9 @@ switch minimizer_algorithm
end end
case 102 case 102
if isoctave if isoctave
error('Optimization algorithm 2 is not available under Octave') error('Optimization algorithm 102 is not available under Octave')
elseif ~user_has_matlab_license('GADS_Toolbox') elseif ~user_has_matlab_license('GADS_Toolbox')
error('Optimization algorithm 2 requires the Global Optimization Toolbox') error('Optimization algorithm 102 requires the Global Optimization Toolbox')
end end
% Set default optimization options for simulannealbnd. % Set default optimization options for simulannealbnd.
if ~isoctave if ~isoctave
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment