Commit 3bc44e55 authored by michel's avatar michel
Browse files

corrected bug with error msg

git-svn-id: ac1d8469-bf42-47a9-8791-bf33cf982152
parent d44ee7fe
......@@ -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))
x = M_.params(i);
\ No newline at end of file
x = M_.params(i);
Supports Markdown
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