function [stat,post] = blkconstu(path,prop,bstr,bint,bflt,parent,name,catalog,ws,node)
%BLKCONSTU Returns the value of the specified constant raised to the power of the input.
%
% See also BLKUCONST.

% Initial coding by A S Bozin, 6-17-97
% Copyright 1997-2000 The MathWorks, Inc.
% $Revision: 1.5 $ $Date: 2000/06/14 16:08:51 $

   stat = 0;			   		   % Error flag
   nInputs = bint(5);
   nOutputs = bint(6);
   %
   % Add mux and demux blocks if necessary
   %
   [post,rect] = blkio('port',nOutputs,nOutputs,prop,path);
   %
   % Get the constant vector parameter
   %
   indInt = bint(15)+1;
   mode = bint(indInt);
   symInd = 0;
   str = cell(size(symInd));
   if (bitand(mode,16))
      indStr = bint(17)+1;
      ind = mfindstr(bstr,indStr,'|');
      symInd(1) = 1;
      str{1} = bstr(indStr:ind-1);
   end
   %
   % Get the block parameter variables
   %
   [symInd,str] = mgetscope(symInd,str,catalog,ws,node);
   if (symInd == 0)
      indFlt = bint(19);
      gRange = 1:nOutputs;
      str{1} = mat2char(bflt(indFlt+gRange));
   end
   %
   % Constant**u block
   %
   bh = add_block('libsb2sl/PEL/Constant**u',path,...
		  'ForegroundColor',prop.fgColor,...
		  'BackgroundColor',prop.bgColor,...
		  'Orientation',prop.orientation,...
		  'DropShadow',prop.border,...
		  'Position',rect,...
		  'CONST',str{1});
   %
   % Connect the current block with the mux and demux blocks (if any)
   %
   blkio('line',nOutputs,nOutputs,post,parent,name);
   return					   % Last card of BLKCONSTU
