From 99b560021195d2faf8c3d370dc778d0b94c606d2 Mon Sep 17 00:00:00 2001
From: Cristian Galperti <cristian.galperti@epfl.ch>
Date: Thu, 25 Nov 2021 10:58:21 +0000
Subject: [PATCH] fprintf to warning on marte params print function

---
 code/classes/SCDclass_mdsobjcontainer.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/code/classes/SCDclass_mdsobjcontainer.m b/code/classes/SCDclass_mdsobjcontainer.m
index 106a118..ab53e1c 100644
--- a/code/classes/SCDclass_mdsobjcontainer.m
+++ b/code/classes/SCDclass_mdsobjcontainer.m
@@ -186,7 +186,7 @@ classdef SCDclass_mdsobjcontainer
           for ii=2:numel(marteparlist)
              for jj=1:ii-1
                  if strcmp(marteparlist(ii), marteparlist(jj))
-                     fprintf("WARNING: found identical MARTe par. names here: %s", marteparlist{ii});
+                     warning("found identical MARTe par. names here: %s", marteparlist{ii});
                  end
              end
           end
-- 
GitLab