<< hostname OS functions ispc >>

ismac


Checks if version is for MacOS platform.


Syntax


s = ismac()

Output argument


s

a logical: true if it is a MacOS platform.

Description


ismac checks if it is a MacOs platform.

Example


if ismac
  disp('Your platform is MacOs')
else
  disp('Your platform is not MacOs')
end

See also


isunix, ispc.

History


Version Description
1.0.0 initial version

Author


Allan CORNET

<< hostname OS functions ispc >>