Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.3.3 - 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


evaluation of a matrix of strings

Calling Sequence

[H]= eval(Z)


returns the evaluation of the matrix of character strings Z.


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
<< 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 Oct 05 12:10:01 CEST 2011