when using listdlg is it possible to use tex characters in the ListString?

2 Ansichten (letzte 30 Tage)
This is what i am trying to do :
(I would like ''\sigma_x'' to turn into σx )
listdlg('ListString' , {'Von Mises Stress', '\sigma_x' , '\sigma_y'})
But the result i get is:

Antworten (2)

Stephen23
Stephen23 am 31 Dez. 2021
Bearbeitet: Stephen23 am 31 Dez. 2021
With recent MATLAB versions and OSs you can just use σ:
listdlg('ListString' , {'Von Mises Stress', 'σ_x' , 'σ_y'})
E.g. R2018a:

Walter Roberson
Walter Roberson am 31 Dez. 2021
listdlg('ListString' , {'Von Mises Stress', '<HTML>&sigma;<sub>x</sub>' , '<HTML>&sigma;<sub>y</sub>'})

Kategorien

Mehr zu Stress and Strain finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by