diff --git a/matlab/TCV/CXRS_get_profiles.m b/matlab/TCV/CXRS_get_profiles.m
index a527043d09e0c1e0b86cb161c2626f3c129be92a..0ac5f1c46163262c0112f0644fe235125e122051 100644
--- a/matlab/TCV/CXRS_get_profiles.m
+++ b/matlab/TCV/CXRS_get_profiles.m
@@ -90,7 +90,7 @@ elseif isa(inparg{2},'char'),
       cmd=sprintf('help %s',s); eval(cmd); cxrs_profiles.OK=-9999; return;
    end
 elseif isa(inparg{2},'numeric'),
-   if ((inparg{2} >= -1)&(inparg{2} <= 4)),
+   if ((inparg{2} >= 0)&(inparg{2} <= 4)),
       sys=inparg{2};
    else
       cmd=sprintf('help %s',s); eval(cmd); cxrs_profiles.OK=0; return;