unix
- :
status =unix(command)¶ - :
[status, result] =unix(command)¶ - :
[status, result] =unix(command, "-echo")¶ Execute command with the system shell and return status / stdout.
On every platform this forwards to
system, matching MATLAB R2026a (including Windows). With"-echo"the captured stdout is also printed viasystem’s"-echo"option.