Convert nested cell with unconsistent structure to mat and also reverse operation

I am not able to convert the data in cell format to mat. If it was only of one level we can use cell2mat and its reverse mat2cell.

3 comentarios

What dimension you are expecting at the end?
2D or 1D
The cells are non consistent, hence giving me an error "matrices being concatenated are not consistent "

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Data Type Conversion en Centro de ayuda y File Exchange.

Preguntada:

el 31 de Mzo. de 2017

Editada:

el 1 de Abr. de 2017

Community Treasure Hunt

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

Start Hunting!

Translated by