function y = isInteractive
%isInteractive  Check if an example runs in interactive mode.

%  Copyright 1998-2020 HUMUSOFT s.r.o.

y = ~evalin('caller', 'exist(''SL3DEXF_NONINTERACTIVE'', ''var'') && SL3DEXF_NONINTERACTIVE');
