FUNCTION REFERENCE

isunix

True on Unix systems, including macOS.

True on Unix systems, including macOS.

Syntax

tf = isunix

Returns a logical scalar describing the host operating system.

Example

isscalar(isunix)   % 1

Differences from MATLAB: none known for this form.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.