Clear Filters
Clear Filters

To save whole workspace in a file(possibly excel)

3 views (last 30 days)
Hi how do i save the whole workspace of matlab in a file preferably in excel file. Please help. Thanks in advance.

Accepted Answer

Andreas Goser
Andreas Goser on 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...

More Answers (1)

Walter Roberson
Walter Roberson on 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!