Making a table with different column widths and autofit contents
Afficher commentaires plus anciens
I am trying to make a table with three different column widths and I just can't seem to get it right.
Alltb(1,1)=ColWidth('1in');
Alltb.ColWidth='1in';
Alltb.entry(1,1).Style = {ColWidth('1in')};
Alltb.Children.entry(1,1).Style = {ColWidth('1in')};
Alltb.Children.Entries(1,1).Style = {ColWidth('1in')};
I get an error that that doesn't exist, some variation of:
Unrecognized property 'ColWidth' for class 'mlreportgen.dom.TableEntry'.
I don't understand what mistake I'm making. Alltb is defined as a "Table()". I have tried defining a table entry and then applying colwidth to that with the same problem. I am using Matlab2017b.
1 commentaire
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Other Formats dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!