How to access a table inside a table on Excel ?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hello,
I would like to access a table located in another table and display it on excel. I have the excel addin and I can normally visualize easily the variables of my workspace. If I do mlgetmatrix("PartitionTable.PartitionTable{1,1}","D4"), I get an error as only the PartitionTable exists. I have also tried to create subtables from this table but I would need to create variables out of the rows of my PartitionTable object (in a for loop, which is not possible on Matlab and bad practice as I have read already). I have managed to create .csv files but once again, I would need to load it after saving it as new variable coming back to the previous issue...
What would be the most efficient way of displaying this data ?
Thank you, Antoine
0 Kommentare
Antworten (1)
Sujit Muduli
am 9 Mär. 2018
Hi Antoine, There are few other functions you may use to get the table data from the spreadsheet such as readtable, this will return a table from which you can extract the necessary fields. Please try this and see if that works for you.
Here is the documentation link which you may find useful, https://in.mathworks.com/help/matlab/spreadsheets.html
Thanks,
Sujit
0 Kommentare
Siehe auch
Kategorien
Mehr zu Spreadsheets finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!