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 >> Strings > eval

eval

evaluation of a matrix of strings

Syntax

[H] = eval(Z)

Arguments

Z

a matrix of character string.

Description

The eval function returns the evaluation of the matrix of character strings Z.

Examples

a=1;
b=2;
Z=['a','sin(b)'];
eval(Z)  //returns the matrix [1, 0.909];

See Also

  • evstr — evaluation of expressions
  • execstr — execute Scilab code in strings
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:39 CEST 2016