How can I insert special characters in MATLAB 7.3 (R2006b)?
1 view (last 30 days)
Show older comments
I would like to insert characters like â or in my figure title or axes label. How can I realize this, especially on my Linux machine?
Accepted Answer
MathWorks Support Team
on 27 Jun 2009
If you have 'dead keys' enabled on your system you can for example just type '^' and afterwards 'a' and will receive 'â'.
Otherwise you can create those characters using the NATIVE2UNICODE function, i.e.:
native2unicode(226)
If you do not know the exact unicode value for the appropriate character you may want to display all possible characters and the assotiated values using i.e.:
x = [num2cell([1:256]') num2cell(native2unicode([1:256]'))]
0 Comments
More Answers (0)
See Also
Categories
Find more on Data Type Conversion in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!