Effacer les filtres
Effacer les filtres

To save whole workspace in a file(possibly excel)

3 vues (au cours des 30 derniers jours)
Pranav
Pranav le 24 Jan 2012
Hi how do i save the whole workspace of matlab in a file preferably in excel file. Please help. Thanks in advance.

Réponse acceptée

Andreas Goser
Andreas Goser le 24 Jan 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...

Plus de réponses (1)

Walter Roberson
Walter Roberson le 24 Jan 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