Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.5.2 - English

Change language to:
Français - 日本語 - Português - Русский

Please note that the recommended version of Scilab is 2024.0.0. This page might be outdated.
However, this page did not exist in the previous stable version.

Scilab Help >> Strings > eval

eval

evaluation of a matrix of strings

Calling Sequence

[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
Report an issue
<< emptystr Strings evstr >>

Copyright (c) 2022-2023 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Wed Apr 01 10:13:57 CEST 2015