Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

how to import multiple cells (as part of a variable in matlab) into excel?

1 visualización (últimos 30 días)
gun cha
gun cha el 9 de Sept. de 2020
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
hi,
i have a variable consisiting of multiple cells with different sized solumns but same no of rows (eg: 4X12 cell, 5X12 cell etc).all are numerical values.
i want to a) sort all these matrices acording to acending order of 1st column and b) import all these matrices into excel ( but preferably with a gap between end of previous matrix and start of the next otherwise all columns will be continous and i need to be able to distinguish all matrices separately.
i have treid sortsrows for sorting but it shows an error for some reason.
i have also tried xlswrite(filename,X{1,1}) but that imports only the 1st cell table. xlswrite(filename,X{1,1:end}) gives me an error. maybe i am missing a simple modification to this line that will let me import all cells at once.
please help in this regard
thanks

Respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by