From 078ca8868fa059622e1652e34bf22b06242c5333 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Adjemian=20=28Charybdis=29?= <stepan@adjemian.eu> Date: Thu, 5 Dec 2019 11:34:15 +0100 Subject: [PATCH] Fixed structure initialization. --- src/@dseries/save.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/@dseries/save.m b/src/@dseries/save.m index 00a5a7b..52c678b 100644 --- a/src/@dseries/save.m +++ b/src/@dseries/save.m @@ -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) -- GitLab