function dctChangeLab(inStr)
; %#ok undocumented

% tell the callback to switch current lab
% private function

%   Copyright 2007 The MathWorks, Inc.

% prevents labchange box from changing the lab when the selected lab is
% zero like in the default page.
profilerstate = com.mathworks.mde.profiler.OldProfiler.getSelectedLabsFromHtml;
if profilerstate(1)==0
    return;
end

dctMpiProfHelpers('changelab', 0, inStr);
