corrected bug with error msg

git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2312 ac1d8469-bf42-47a9-8791-bf33cf982152
time-shift
michel 2008-12-12 16:18:04 +00:00
parent d44ee7fe6d
commit 3bc44e55fb
1 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ function x = get_param_by_name(pname)
i = strmatch(pname,M_.param_names,'exact');
if isempty(i)
error(['Can''t find parameter ' pname])
error(sprintf('Can''t find parameter %s', pname))
end
x = M_.params(i);
x = M_.params(i);