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

% Copyright 1984-2020 The MathWorks, Inc.

try
    if ispc
        winopen(filename)
    elseif ismac
        matlab.system.internal.executeCommand(['open "' filename '" &']);
    else
        edit(filename);
    end
catch exception %#ok
    edit(filename)
end
