diff --git a/PlotID_example.m b/PlotID_example.m
index 1ae7dfacc8ad79dad85908a05debb7f025f7d67b..7475e4a8ef74c74c23d40ca778ef648920c99371 100644
--- a/PlotID_example.m
+++ b/PlotID_example.m
@@ -4,7 +4,7 @@
 
 %% Clear and set environment
 addpath('Examples');
-clearEnv; % contains clear clc, close all
+clear; close all; clc;
 
 %% Data (only necessary for this example)
 [x, y, datapath] = createExampleData('matlab');