   function [Stack,E]=Pop( Stack )
     if Stack.StackSize == 0
         error('Stack: Empty Stack');
     else
       E=Stack.Elements{ Stack.StackSize };
       Stack.StackSize=Stack.StackSize-1;
     end
   end