GUIDE Text Box Line Feed

GUIDE のテキストボックスをコマンドウィンドーの代わりにしてステータスをタレ流し的に書き込もうとしているのですが、書き込みコマンドごとには改行せず(\nは無視される)、常に第一行目から書き始めます。 たとえば、 fprintf(Started...\n') fprintf('Returned with error !\n') の代わりに set(handles.tbx_mon, 'String', Started...\n'); set(handles.tbx_mon, 'String', 'Returned with error !\n'); を行うと、Text Box の第一行目から書き始め、前回書いたメッセージ('String', Started...\n')を上書きしてしまいます。 改行文字を含んだ文字列を一度に出せば改行はするようですが、これでは不便ですので何か対処方法ありますでしょうか?

답변 (0개)

이 질문은 마감되었습니다.

제품

질문:

2015년 11월 9일

마감:

2021년 8월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by