文字列にタブを挿入するにはどうすればよいですか?
14 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
MathWorks Support Team
el 22 de Mayo de 2018
Respondida: MathWorks Support Team
el 24 de Mayo de 2018
文字列としてタブを挿入する方法を教えてください。
Respuesta aceptada
MathWorks Support Team
el 22 de Mayo de 2018
以下の方法をご検討ください。
1. sprintf 関数で水平タブを挿入する
>> sprintf('\t')
2. blanks 関数で複数の空白文字を作成する
>> blanks(5)
特殊文字に関しては、以下の URL よりドキュメンテーションをご覧ください。
・テキストの書式設定
0 comentarios
Más respuestas (0)
Ver también
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!