function mstr = menubar
%MENUBAR Computer dependent default setting for MenuBar property.
%  Dialog figures should be created with their MenuBar property set
%  to menubar to ensure correct computer dependent behavior.
%  I.e. figure('MenuBar',menubar)

%  Author(s): A. Potvin, 6-8-94
%  Copyright 1984-2000 The Mathworks, Inc. 
%  $Revision: 1.10 $  $Date: 2000/06/02 04:41:45 $

comp = computer;
if strcmp(comp(1:2),'MA')
   % Use default menubar on Mac
   mstr = 'figure';
else
   % Turn off figure's menubar on other platforms
   mstr = 'none';
end

% end menubar
