Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: Français - Português - Русский - 日本語
Scilab Help >> Input/Output functions > setenv

setenv

set the value of an environment variable

Syntax

rep=setenv(name, value )

Arguments

name

Points to the name of an environment variable . (name is a string)

value

Points to the value to be assigned to the environment variable. (value is a string)

rep

Returns %T if it is ok else %F.

Description

set the value of an environment variable.

Examples

setenv('toto','example')
getenv('toto')

See Also

  • getenv — get the value of an environment variable
Scilab Enterprises
Copyright (c) 2011-2015 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Wed Jun 15 08:27:38 CEST 2016