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

dyntable.m: cosmetic fix

parent 6868e2f2
No related branches found
No related tags found
1 merge request!2268Add Add display_parameter_values.m utility
......@@ -63,7 +63,7 @@ end
value_format = sprintf('%%%d.%df', val_width, val_precis);
header_string_format = sprintf('%%%ds', val_width);
if length(title) > 0
if ~isempty(title)
fprintf('\n\n%s\n',title);
end
......@@ -72,7 +72,7 @@ if nargin==9
disp(optional_header)
end
if length(headers) > 0
if ~isempty(headers)
hh_tbl = sprintf(label_format_leftbound , headers{1});
for i=2:length(headers)
hh_tbl = [hh_tbl sprintf(header_string_format, headers{i})];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment