Uitable column name with symbols and subscripts
显示 更早的评论
Hello,
I want to write the column name in my uitable as <reff,f> where eff,f are subscripts. I tried using html but for some reason adding the < ruins everything. Help?
PS I am using matlab R2016a
回答(1 个)
Walter Roberson
2019-5-12
h = uitable('ColumnName', {'<html>r<sub>eff,f</sub>'})
4 个评论
Yasmin Samy
2019-5-12
Yasmin Samy
2019-5-12
Yasmin Samy
2019-5-12
Walter Roberson
2019-5-12
Sorry I had not realized the < > were intended to be literal.
> is accepted due to lax HTML parsing. A real HTML parser would have given an error .
类别
在 帮助中心 和 File Exchange 中查找有关 Loops and Conditional Statements 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


