Commit 078ca886 authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Fixed structure initialization.

parent d898f760
......@@ -72,7 +72,7 @@ switch format
if ~isempty(fieldnames(o.tags))
% User has defined tags on the variables.
tagnames = fieldnames(o.tags);
TAGS__ = fprintf(fid, 'struct();\n');
fprintf(fid, 'TAGS__ = struct();\n');
for i=1:length(tagnames)
fprintf(fid, 'TAGS__.%s = cell(%s, 1);\n', tagnames{i}, num2str(vobs(o)));
for j=1:vobs(o)
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