Azzera filtri
Azzera filtri

To save whole workspace in a file(possibly excel)

2 visualizzazioni (ultimi 30 giorni)
Hi how do i save the whole workspace of matlab in a file preferably in excel file. Please help. Thanks in advance.

Risposta accettata

Andreas Goser
Andreas Goser il 24 Gen 2012
I have nothing elaborated yet, but I am thinking of using whos and then looping through all variables and use XLSWRITE. You certainly need to look for situation with different sizes and data types...

Più risposte (1)

Walter Roberson
Walter Roberson il 24 Gen 2012
There are a number of different MATLAB objects that cannot be saved in Excel files, such as graphics objects.
Excel files also have limits on the number of rows and columns a variable has, but MATLAB variables often exceed those limits.

Community Treasure Hunt

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

Start Hunting!

Translated by