Effacer les filtres
Effacer les filtres

Super and Subscripts for viewing within Matlab Reports?

1 vue (au cours des 30 derniers jours)
Frank Lehmann
Frank Lehmann le 31 Mar 2018
Hi All,
I've generated some reports to call the below code:
textForItem1 = Text(['Conductor Size Chosen = ',num2str(C),' mm^2']); step2 = ListItem(textForItem1);
I've appended the ordered list, procedure to the relevant section. All seems fine.
When the report is generated I get exactly mm^2 where as I want it the 2 to be superscripted. Ive tried additional code str, strcat, fprint etc to no avail?
I guess I need some code which assigns a str/variable and calls the conductor size (C, an integer) the text (mm^2, 2 superscripted)and then implement this in the above code as num2str() and remove the ' mm^2'.
Any ideas much appreciated.
Frank

Réponses (0)

Catégories

En savoir plus sur Reporting and Database Access dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by