How can I select every variable in my workspace?

7 Ansichten (letzte 30 Tage)
Matt
Matt am 20 Mai 2016
Kommentiert: Stephen23 am 21 Mai 2016
I am sifting through a data set that is so big it keeps crashing my computer. I imported the data which took several hours so it entered my workspace as 900+ variables. I have since cleared nearly 800 variables and hope that the 130ish (single column) variables will not crash my system. Is there a way to select every individual variable at once? I would like to concatenate them into a matrix and export it. I don't want to type them individually because I may change which variables I clear. Any advice?
  3 Kommentare
Image Analyst
Image Analyst am 21 Mai 2016
I agree with Azzi. If you have 900 variables and wanted matrices to begin with, then just reprogram to use matrices. That's about all we can say without seeing your code.
Stephen23
Stephen23 am 21 Mai 2016
@Matt: how did you get 900+ variables into your workspace?
  • Slow and buggy: import lots of variables, try to merge them together.
  • Fast and reliable: import into a few variables.
If you show us what you are doing then we can help you to improve it.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by