GUIDE Text Box Line Feed
Ältere Kommentare anzeigen
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 !\ のように一度に書き込めばよさそうですが、それでは不便ですので何か対処方法はありますでしょうか?
Antworten (0)
Kategorien
Mehr zu Desktop finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!