Commit d54cdbf0 authored by Houtan Bastani's avatar Houtan Bastani

fix output when no arguments are passed to dynare

parent 5d439bcb
......@@ -16,7 +16,7 @@ function dynare(fname, varargin)
% SPECIAL REQUIREMENTS
% none
% Copyright (C) 2001-2017 Dynare Team
% Copyright (C) 2001-2018 Dynare Team
%
% This file is part of Dynare.
%
......@@ -220,6 +220,9 @@ if preprocessoroutput
fprintf(['Starting Dynare (version ' dynare_version() ').\n']);
fprintf('Calling Dynare with arguments: ');
disp(varargin);
if isempty(varargin)
disp('none')
end
end
[status, result] = system(command);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment