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


table2cell

convert a table into a cell

Syntax

m = table2cell(t)

Arguments

t

table object

m

cell of the same size as t

Description

table2cell converts a table into a cell. The data of t can be heterogeneous to convert them to a cell. If t is a table with row names, then the data is lost.

Examples

m = table2cell(t)

t = table([1; 4; 7], datetime(2023, 7:9, 15)', [%f; %t; %t])
m = table2cell(t)

x = ["a"; "b"; "c"];
t.Properties.RowNames = x
m = table2cell(t)

See also

  • table — create a table from variables
  • cell2table — convert a cell into a table

History

VersionDescription
2024.0.0 Introduction in Scilab.
Report an issue
<< table Timeseries/Table table2matrix >>

Copyright (c) 2022-2024 (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:
Mon Jun 17 17:49:22 CEST 2024