How to print greek letters like 'µ' in fprintf to file handle?
60 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Aayush Singla
el 26 de Nov. de 2019
Respondida: Aayush Singla
el 26 de Nov. de 2019
Hello,
I am using MATLAB R2018b and want to print greek letters like 'µ' to a text/ini file from matlab using fprintf.
I have read couple of old threads which say it is not possible in earlier releases.
MATLAB 2018b returns true for
isletter('µ')
I am just trying out simple string like
fprintf(fhandle,'16.0µm');
It prints out 16.0xB5m in the file. I have already tried out escape characters like
fprintf(fhandle,'16.0 \mu m \n');
fprintf(fhandle,'16.0 \\mu m \n');
fprintf(fhandle,'16.0 \xB5 m \n');
However, none of these seem to work.
Is there any idea of how to solve this issue or a workaround for the problem?
Is the issue addressed in future releases of MATLAB ?
0 comentarios
Respuesta aceptada
Más respuestas (1)
Ver también
Categorías
Más información sobre Labels and Annotations en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!