To save whole workspace in a file(possibly excel)

3 次查看(过去 30 天)
Hi how do i save the whole workspace of matlab in a file preferably in excel file. Please help. Thanks in advance.

采纳的回答

Andreas Goser
Andreas Goser 2012-1-24
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...

更多回答(1 个)

Walter Roberson
Walter Roberson 2012-1-24
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