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 - 日本語 - Русский

Please note that the recommended version of Scilab is 6.0.1. This page might be outdated.
See the recommended documentation of this function

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-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Tue Feb 14 15:02:52 CET 2017