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

% Copyright 2004-2023 The MathWorks, Inc.

if ispc
    winopen(file);
else
    error(message('MATLAB:openPlatform:winonly', 'exe'));
end
