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 (obsolete)

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 — evaluates Scilab expressions and concatenates their results
  • execstr — execute Scilab code in strings

History

VersionDescription
6.0.1 eval() is declared obsolete, to be removed from Scilab 6.1.0. Please use evstr() instead.
Scilab Enterprises
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Mon Feb 12 19:26:51 CET 2018