diff --git a/PlotID_example.m b/PlotID_example.m
index feecb2914c522833ccbbb212a4df4a6bc0b322bc..1ae7dfacc8ad79dad85908a05debb7f025f7d67b 100644
--- a/PlotID_example.m
+++ b/PlotID_example.m
@@ -3,8 +3,8 @@
 % please run Initilisation.m before first time use
 
 %% Clear and set environment
-clearEnv; % contains clear clc, close all
 addpath('Examples');
+clearEnv; % contains clear clc, close all
 
 %% Data (only necessary for this example)
 [x, y, datapath] = createExampleData('matlab');