Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
2024.0.0 - Русский


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
Report an issue
<< table Timeseries/Table table2matrix >>

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:
Tue Oct 24 14:37:13 CEST 2023