GUIDE Text Box Line Feed
Afficher commentaires plus anciens
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 !\ のように一度に書き込めばよさそうですが、それでは不便ですので何か対処方法はありますでしょうか?
Réponses (0)
Catégories
En savoir plus sur Text Files dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!