필터 지우기
필터 지우기

Super and Subscripts for viewing within Matlab Reports?

조회 수: 1 (최근 30일)
Frank Lehmann
Frank Lehmann 2018년 3월 31일
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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Reporting and Database Access에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by