how to export complete workspace data (containing objects, matrices, cells & structures) to one excel sheet ?
Ältere Kommentare anzeigen
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 Kommentare
Rik
am 22 Apr. 2022
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
am 22 Apr. 2022
Stephen23
am 22 Apr. 2022
Rik
am 26 Apr. 2022
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?
Antworten (1)
Walter Roberson
am 26 Apr. 2022
0 Stimmen
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 Kommentar
Walter Roberson
am 26 Apr. 2022
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?
Kategorien
Mehr zu Spreadsheets finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!