How to include tabs in a GUI static text?

I am using:
set(handles.txt_result, 'String', result);
where the result has tabs and changing lines in the form '\t' and '\n' the changing lines work well but not the tabs. I have tried results as char, string, event as sprintf but i can not make it work.

댓글 수: 1

Robert
Robert 2016년 8월 24일
Is handles.txt_result the handle to a uicontrol label? What version of MATLAB are you using? What do you see in place of the tab character? A space? Nothing?

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

답변 (0개)

카테고리

도움말 센터File Exchange에서 Characters and Strings에 대해 자세히 알아보기

질문:

2016년 8월 24일

편집:

2016년 8월 25일

Community Treasure Hunt

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

Start Hunting!

Translated by