Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
6.0.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 (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.
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:
Thu Feb 14 14:57:23 CET 2019