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 !\ のように一度に書き込めばよさそうですが、それでは不便ですので何か対処方法はありますでしょうか?

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Desktop 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by