How to export the workspace variable INFORMATION, such as Name, Value, Bytes, Class.
이전 댓글 표시
I would like to find a way to export the description of my workspace. In the MATLAB IDE Workspace description, I find the "Bytes" field particularly informative.
I obtain something close to what I want when I type into the command line:
whos
However, I cannot properly store the output by copy-pasting it into a spreadsheet. If I could save the data listed by whos, it would be useful to search by Class, Size or Name. And doesn't need the disk space that is involved with a
save
in case of big files.
채택된 답변
추가 답변 (1개)
KSSV
2017년 10월 17일
S = whos ;
S = struct2cell(S)
xlswrite('myfile.xlsx',S)
댓글 수: 3
Lionel Trébuchon
2017년 10월 17일
Lionel Trébuchon
2017년 10월 17일
Lionel Trébuchon
2017년 10월 17일
카테고리
도움말 센터 및 File Exchange에서 Spreadsheets에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!