diff --git a/classes/SCDclass_mdswg.m b/classes/SCDclass_mdswg.m index 58d590d1d9a50703248fb70e04f172c5d344d89e..4af00995f059960a8dd194d998630627239b9a3b 100644 --- a/classes/SCDclass_mdswg.m +++ b/classes/SCDclass_mdswg.m @@ -190,7 +190,7 @@ classdef SCDclass_mdswg < matlab.mixin.Heterogeneous str=martetdi; end - function obj = autopopulatemdscommon(obj, shot, basenode, dim, data, units, srcval) + function obj = autopopulatemds(obj, shot, basenode, dim, data, units, srcval) fprintf('Changing MDS node: ''%s'' <- %s\n',basenode,srcval); diff --git a/classes/SCDclass_mdswgsigarray1.m b/classes/SCDclass_mdswgsigarray1.m index 4d06a15fb8bd453dd0a7e729fa04dec0491faa06..094a0df56ef2d187c3fe5a54b0ac6d8d25a231fd 100644 --- a/classes/SCDclass_mdswgsigarray1.m +++ b/classes/SCDclass_mdswgsigarray1.m @@ -190,7 +190,7 @@ classdef SCDclass_mdswgsigarray1 < SCDclass_mdswg units = wgentryval.(structparam).DataInfo.Units; mdschannel=sprintf(obj.tdiexpr, sourceidxs(ii)); - obj.autopopulatemdscommon(shot, mdschannel, dim, data, units, [baseparam '.' structparam '[' num2str(ii) ']']); + autopopulatemds@SCDclass_mdswg(obj, shot, mdschannel, dim, data, units, [baseparam '.' structparam '[' num2str(ii) ']']); end end diff --git a/classes/SCDclass_mdswgsigsingle.m b/classes/SCDclass_mdswgsigsingle.m index 4d1e462a1a37cbbbe6ff6c8f03641c6fb2a5e9b8..dbc61f8977bde88b0b20fd61b2d6d0e3197953b8 100644 --- a/classes/SCDclass_mdswgsigsingle.m +++ b/classes/SCDclass_mdswgsigsingle.m @@ -146,7 +146,7 @@ classdef SCDclass_mdswgsigsingle < SCDclass_mdswg dim = wgentryval.(structparam).Time; units = wgentryval.(structparam).DataInfo.Units; - obj.autopopulatemdscommon(shot, obj.tdiexpr, dim, data, units, [baseparam '.' structparam '[' num2str(obj.destidx) ']']); + autopopulatemds@SCDclass_mdswg(obj, shot, obj.tdiexpr, dim, data, units, [baseparam '.' structparam '[' num2str(obj.destidx) ']']); end function out = castdata(obj, in)