<< getmodules Configuration getscilabmode >>

Scilab Help >> Scilab > Configuration > getos

getos

retorna o nome e a versão do Sistema Operacional

Seqüência de Chamamento

OS=getos()
[OS,Version]=getos()

Descrição

getosretorna o nome e a versão do Sistema Operacional

Exemplos

OS=getos()
[OS,version] = getos()
if (getos() == "Windows") then disp("Scilab on Windows"); end
if (getos() == "Linux") then disp("Scilab on Linux"); end
if (getos() == "SunOS") then disp("Scilab on Solaris"); end
if (getos() == "Darwin") then disp("Scilab on MacOs"); end

Report an issue
<< getmodules Configuration getscilabmode >>