GUIDE Text Box Line Feed

Text Box に以下のように書き込むと、最初に書いたメッセージ'Started...!\n'の改行が反映されず、次の書き込みメッセージ'Returned with some error !\n'がText Box の第一行目から書きこまれ最初のメッセージは上書きされてしまいます。 set(handles.tbx_mon, 'String', 'Started...!\n'); set(handles.tbx_mon, 'String', 'Returned with some error !\n'); \nを含む文字列をつなげて'String', 'Started...!\nReturned with some error !\ のように一度に書き込めばよさそうですが、それでは不便ですので何か対処方法はありますでしょうか?

Answers (0)

Categories

Products

Asked:

on 10 Nov 2015

Community Treasure Hunt

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

Start Hunting!