Skip to content
Snippets Groups Projects
Commit e0b91104 authored by Cristian Galperti's avatar Cristian Galperti
Browse files

genMARTe2entrycommon -> genMARTe2entry

parent b6c29abd
No related branches found
No related tags found
No related merge requests found
......@@ -152,7 +152,7 @@ classdef SCDclass_mdswg < matlab.mixin.Heterogeneous
% out = obj.modelparam;
%end
function entrystring = genMARTe2entrycommon(obj, shot)
function entrystring = genMARTe2entry(obj, shot)
%entrystring = ['+' obj.wavegentarget ' = { Class=' obj.classname ' Path=' obj.tdiexpr ];
entrystring = sprintf('+%-50s = { Class=%-30s Path=%-40s',obj.wavegentarget,obj.marteclassname,obj.genMARTe2MDStdiexpression);
end
......
......@@ -150,7 +150,7 @@ classdef SCDclass_mdswgsigarray1 < SCDclass_mdswg
if(obj.srcstartidx~=obj.deststartidx || obj.srcstopidx~=obj.deststopidx)
error('SCDclass_mdswgsigarray1:genMARTe2entry','Signal position remapping not yet implemented in the MARTe version of this class');
end
entrystring=obj.genMARTe2entrycommon(shot);
entrystring=obj.genMARTe2entry@SCDclass_mdswg(obj,shot);
entrystring=[entrystring ' StartIdx=' num2str(obj.srcstartidx) ' StopIdx=' num2str(obj.srcstopidx) ' }'];
end
......
......@@ -133,7 +133,7 @@ classdef SCDclass_mdswgsigsingle < SCDclass_mdswg
if obj.destidx~=1
error('SCDclass_mdswgsigsingle:marteerror', 'MARTe2 remapping not yet implemented');
end
entrystring=[obj.genMARTe2entrycommon(shot) ' }'];
entrystring=[obj.genMARTe2entry@SCDclass_mdswg(obj,shot) ' }'];
end
function autopopulatemds(obj, shot)
......
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