function [stat,post] = blksqrt(path,prop,bstr,bint,bflt,parent,name)
%BLKSQRT This block defines a function that returns the square root of the input.
%
% See also BLKLOG, BLKEXP.

% Initial coding by A S Bozin, 6-10-97
% Copyright 1997-2000 The MathWorks, Inc.
% $Revision: 1.4 $ $Date: 2000/06/14 16:11:00 $

   stat = 0;			   		   % Error flag
   nInputs = bint(5);
   nOutputs = bint(6);
   %
   % Build mux and demux if necessary
   %
   [post,rect] = blkio('port',nOutputs,nOutputs,prop,path);
   %
   % Square root block
   %
   bh = add_block('built-in/Math',path,...
		  'ForegroundColor',prop.fgColor,...
		  'BackgroundColor',prop.bgColor,...
		  'Orientation',prop.orientation,...
		  'DropShadow',prop.border,...
		  'Position',rect,...
		  'Operator','sqrt');
   %
   % Connect the current block with the mux and demux blocks (if any)
   %
   blkio('line',nOutputs,nOutputs,post,parent,name);
   return					   % Last card of BLKSQRT
