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

printinfocommon -> printinfo

parent c5208d76
No related branches found
No related tags found
No related merge requests found
......@@ -82,7 +82,7 @@ classdef SCDclass_mdswg < matlab.mixin.Heterogeneous
assert(s==shot, str);
end
function printinfocommon(obj)
function printinfo(obj)
fprintf('%s (class %s):\n', obj.gettargetwavegen, obj.classname);
fprintf(' Simulink model: ''%s''\n', obj.modelname);
fprintf(' MDS+ source server: ''%s'', Tree: ''%s''\n', obj.mdsserver, obj.mdstree);
......
......@@ -140,7 +140,7 @@ classdef SCDclass_mdswgsigarray1 < SCDclass_mdswg
end
function printinfo(obj)
obj.printinfocommon;
printinfo@SCDclass_mdswg(obj);
if(obj.srcstartidx~=obj.deststartidx || obj.srcstopidx~=obj.deststopidx)
fprintf(' Remapping: source interval [%d,%d] remapped into dest. interval [%d,%d]\n', obj.srcstartidx, obj.srcstopidx, obj.deststartidx, obj.deststopidx);
end
......
......@@ -115,7 +115,7 @@ classdef SCDclass_mdswgsigsingle < SCDclass_mdswg
end
function printinfo(obj)
obj.printinfocommon;
printinfo@SCDclass_mdswg(obj);
if(obj.destidx~=1)
fprintf(' Remapping: destination signal index is %d\n', obj.destidx);
end
......
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