isunix
Determine if MATLAB is running on Linux or Mac platforms
Syntax
Description
tf = isunix returns logical 1
(true) if the version of MATLAB® is for Linux® or Apple
macOS platforms. Otherwise, it returns logical 0
(false).
Examples
Extended Capabilities
Version History
Introduced before R2006a