how can access a table which contain cells?

I have a table that contain cells an it is like this: [1x38 double] [1x38 double] [1x38 double]... I can access each row at time but I need all the rows to be stored in a matrix.

 Respuesta aceptada

Star Strider
Star Strider el 17 de Oct. de 2015

0 votos

The cell2mat function could be what you want.

6 comentarios

I have tried and I receive this error
Error using cell2mat (line 42)
You can not subscript a table using only one subscript. Table subscripting requires both row and variable subscripts.
Star Strider
Star Strider el 18 de Oct. de 2015
Editada: Star Strider el 18 de Oct. de 2015
Consider the table2cell function first then, depending on what you want to do.
I have these table and want to access the data in order to be able to write them at one xls files. It is not possible as being now....
insertdata{1} =
[1x28 double]
[1x19 double]
[1x3 double]
Star Strider
Star Strider el 18 de Oct. de 2015
You may not need to do anything with them to write them to an Excel file. Use the writetable function. Just give it a file name with an .xls or similar Excel extension.
Kelly Kyriakou
Kelly Kyriakou el 18 de Oct. de 2015
This is perfect!!! Thank you really very very much for your precious help.
Star Strider
Star Strider el 18 de Oct. de 2015
My pleasure!

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Etiquetas

Preguntada:

el 17 de Oct. de 2015

Comentada:

el 18 de Oct. de 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by