how to export complete workspace data (containing objects, matrices, cells & structures) to one excel sheet ?
古いコメントを表示
My workspace data consists of objects, cell array, structures and matrices .. and I am unable to write or export all these in one excel sheet.
Is there any command or simple code for this ?
I am trying to develop code for undistorted fisheye image . As shown in below pic for the workspace I want to export all the variables , the object ( cameraParams) and their values to xlsx. How do I do that ?


4 件のコメント
Rik
2022 年 4 月 22 日
What exactly would you like to achieve? Are there specific variables you're looking for? Do you want to store variables as a checkpoint? Do you simply want a data dump?
This question sounds like you want to do something, but you are assuming a solution that may be suboptimal.
anisha xyz
2022 年 4 月 22 日
Stephen23
2022 年 4 月 22 日
Rik
2022 年 4 月 26 日
There are builtin tools to save matrices to Excel. So what you need to do is to decide how you want to show each property in Excel.
What have you tried so far to do that?
回答 (1 件)
Walter Roberson
2022 年 4 月 26 日
0 投票
No there is no simple way to do that. There is no complicated way to do it either. Excel lacks the capacity to represent hierarchy of structured data within a single sheet.
1 件のコメント
Walter Roberson
2022 年 4 月 26 日
json can help.
https://www.howtogeek.com/775651/how-to-convert-a-json-file-to-microsoft-excel/
However you will need to convert the objects to a different form, possibly by using struct()
... Does the person truly need the complete list of file names from the datastore? Fully qualified names?
カテゴリ
ヘルプ センター および File Exchange で Spreadsheets についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!