function openexe(file)
%OPENEXE Opens a Microsoft DOS or Windows executable.

% Copyright 2004 The MathWorks, Inc.
% $Revision: 1.1.6.1 $  $Date: 2004/10/25 14:47:44 $

if ispc
    try
        winopen(file)
    catch
        edit(file)
    end
else
    edit(file)
end