필터 지우기
필터 지우기

Errors at random when trying to print greek alphabets in Matlab 2020a

조회 수: 2 (최근 30일)
v = 2;
text1=['(', num2str(v,'%.0f'), ', ', num2str(v,'%.0f'), ')', '\mum'];
text(0.3,0.3,text1);
These seem to work at random times and print the title without parsing the symbols at others. Could someone please help me understand/suggest what I have missed?

채택된 답변

Ayush Gupta
Ayush Gupta 2020년 9월 7일
The program seems to run fine and produces no errors for even around 20 runs. Look at some examples on how to use Greek Letters and Special Characters in Char Text here.
  댓글 수: 1
Revati Deshpande
Revati Deshpande 2020년 9월 14일
Thanks, Ayush!
Are there any interpreter default settings that might need tweaking/ any other functions that might not be able to interpret correctly?
I'm sorry the problem definition seems so vague, but I am not doing anything extra-ordinary - just getting some values from reading a table and plotting them out.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Labels and Annotations에 대해 자세히 알아보기

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by