How to export cell of double arrays to Excel?

5 visualizzazioni (ultimi 30 giorni)
Nut
Nut il 21 Ott 2017
Risposto: Corey Silva il 17 Gen 2020
Hi,
I have to declare the following variable:
Param = {[1,2],[3,4],[5,6],[7,8,9,10]};
and I need to export it into an Excel file, as shown by the attached image.
What is the simplest way to do this?
Thank you very much for your answers.

Risposte (1)

Corey Silva
Corey Silva il 17 Gen 2020
The writecell function should do exactly what you need.
writecell(Param)

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by