function [stat,post] = blkcross(path,prop,bstr,bint,bflt,parent,name)
%BLKCROSS This block defines a function whose output is the cross product of two
%     input vectors.
%
% See also BLKMUL.

% Initial coding by A S Bozin, 7-10-97
% Copyright 1997-2000 The MathWorks, Inc.
% $Revision: 1.6 $ $Date: 2000/06/14 16:08:58 $

   stat = 0;			   		   % Error flag
   nInputs = bint(5);
   nOutputs = bint(6);
   %
   % Build mux and demux if necessary
   %
   channels = [nOutputs nOutputs];
   [post,rect] = blkio('port',channels,nOutputs,prop,path);
   %
   % Cross product block
   %
   bh = add_block('libsb2sl/ALG/CrossProd',path,...
		  'ForegroundColor',prop.fgColor,...
		  'BackgroundColor',prop.bgColor,...
		  'Orientation',prop.orientation,...
		  'DropShadow',prop.border,...
		  'Position',rect);
   %
   % Connect the current block with the mux and demux blocks (if any)
   %
   blkio('line',channels,nOutputs,post,parent,name);
   return					   % Last card of BLKCROSS
