function openppt(file)
%OPENPPT Opens a Microsoft PowerPoint file.

% Copyright 1984-2004 The MathWorks, Inc.
% $Revision: 1.1.6.2 $  $Date: 2004/10/25 14:47:45 $

try
    if ispc
        winopen(file)
    elseif strncmp(computer,'MAC',3);
        unix(['open "' file '" &']);
    else
        edit(file);
    end
catch
    edit(file)
end
