ispc

Checks if version is for Windows platform.

Syntax

  • s = ispc()

Output argument

  • s - a logical: true if it is a Windows platform.

Description

ispc checks if it is a Windows platform.

Example

if ispc
  disp('Your platform is Windows')
else
  disp('Your platform is not Windows')
end

See also

isunix, ismac.

History

Author

Allan CORNET

Last updated