diff --git a/examples/1/clean b/examples/1/clean
index 891616064993f969a10a25af64cc5b1e612cc87a..19ca1948b46622aec2fc204b1bb471a8e0e82721 100755
--- a/examples/1/clean
+++ b/examples/1/clean
@@ -1,7 +1,7 @@
 #!/bin/sh
 
 rm -rf example
-rm -f example_dynamic.json example.json example.m example_original.json example_static.json
-rm -f example_dynamic.m example.log example_set_auxiliary_variables.m example_static.m
-rm -f example_dynamic_set_auxiliary_series.m
-rm -f example_results.mat
+rm  -f example*.json
+rm -f example*.m
+rm -f example*.mat
+rm -f example.log
\ No newline at end of file
diff --git a/examples/2/clean b/examples/2/clean
index 891616064993f969a10a25af64cc5b1e612cc87a..19ca1948b46622aec2fc204b1bb471a8e0e82721 100755
--- a/examples/2/clean
+++ b/examples/2/clean
@@ -1,7 +1,7 @@
 #!/bin/sh
 
 rm -rf example
-rm -f example_dynamic.json example.json example.m example_original.json example_static.json
-rm -f example_dynamic.m example.log example_set_auxiliary_variables.m example_static.m
-rm -f example_dynamic_set_auxiliary_series.m
-rm -f example_results.mat
+rm  -f example*.json
+rm -f example*.m
+rm -f example*.mat
+rm -f example.log
\ No newline at end of file
diff --git a/examples/3/clean b/examples/3/clean
index 891616064993f969a10a25af64cc5b1e612cc87a..19ca1948b46622aec2fc204b1bb471a8e0e82721 100755
--- a/examples/3/clean
+++ b/examples/3/clean
@@ -1,7 +1,7 @@
 #!/bin/sh
 
 rm -rf example
-rm -f example_dynamic.json example.json example.m example_original.json example_static.json
-rm -f example_dynamic.m example.log example_set_auxiliary_variables.m example_static.m
-rm -f example_dynamic_set_auxiliary_series.m
-rm -f example_results.mat
+rm  -f example*.json
+rm -f example*.m
+rm -f example*.mat
+rm -f example.log
\ No newline at end of file
diff --git a/examples/4/clean b/examples/4/clean
index 891616064993f969a10a25af64cc5b1e612cc87a..19ca1948b46622aec2fc204b1bb471a8e0e82721 100755
--- a/examples/4/clean
+++ b/examples/4/clean
@@ -1,7 +1,7 @@
 #!/bin/sh
 
 rm -rf example
-rm -f example_dynamic.json example.json example.m example_original.json example_static.json
-rm -f example_dynamic.m example.log example_set_auxiliary_variables.m example_static.m
-rm -f example_dynamic_set_auxiliary_series.m
-rm -f example_results.mat
+rm  -f example*.json
+rm -f example*.m
+rm -f example*.mat
+rm -f example.log
\ No newline at end of file
diff --git a/examples/5/clean b/examples/5/clean
index 891616064993f969a10a25af64cc5b1e612cc87a..19ca1948b46622aec2fc204b1bb471a8e0e82721 100755
--- a/examples/5/clean
+++ b/examples/5/clean
@@ -1,7 +1,7 @@
 #!/bin/sh
 
 rm -rf example
-rm -f example_dynamic.json example.json example.m example_original.json example_static.json
-rm -f example_dynamic.m example.log example_set_auxiliary_variables.m example_static.m
-rm -f example_dynamic_set_auxiliary_series.m
-rm -f example_results.mat
+rm  -f example*.json
+rm -f example*.m
+rm -f example*.mat
+rm -f example.log
\ No newline at end of file
diff --git a/examples/6/clean b/examples/6/clean
index 891616064993f969a10a25af64cc5b1e612cc87a..19ca1948b46622aec2fc204b1bb471a8e0e82721 100755
--- a/examples/6/clean
+++ b/examples/6/clean
@@ -1,7 +1,7 @@
 #!/bin/sh
 
 rm -rf example
-rm -f example_dynamic.json example.json example.m example_original.json example_static.json
-rm -f example_dynamic.m example.log example_set_auxiliary_variables.m example_static.m
-rm -f example_dynamic_set_auxiliary_series.m
-rm -f example_results.mat
+rm  -f example*.json
+rm -f example*.m
+rm -f example*.mat
+rm -f example.log
\ No newline at end of file
diff --git a/examples/7/clean b/examples/7/clean
index 891616064993f969a10a25af64cc5b1e612cc87a..19ca1948b46622aec2fc204b1bb471a8e0e82721 100755
--- a/examples/7/clean
+++ b/examples/7/clean
@@ -1,7 +1,7 @@
 #!/bin/sh
 
 rm -rf example
-rm -f example_dynamic.json example.json example.m example_original.json example_static.json
-rm -f example_dynamic.m example.log example_set_auxiliary_variables.m example_static.m
-rm -f example_dynamic_set_auxiliary_series.m
-rm -f example_results.mat
+rm  -f example*.json
+rm -f example*.m
+rm -f example*.mat
+rm -f example.log
\ No newline at end of file