필터 지우기
필터 지우기

Insert a line break in Mask-Editor / Parameters / Prompt

조회 수: 45 (최근 30일)
JeJ
JeJ 2015년 3월 18일
답변: umichguy84 2018년 1월 30일
Is it possible to insert a line break into the "prompt" field of the parameters pane of the mask editor?
I would like to use multiple lines of text preceding the variable field.

답변 (1개)

umichguy84
umichguy84 2018년 1월 30일
You can use the newline char '\n' with fprint or disp.
fprintf([ 'Line1Text ' '\n'...
'Line2Text ' '\n'...
'Line3Text ' ])
OR
disp([ 'Line1Text ' '\n'...
'Line2Text ' '\n'...
'Line3Text ' ])

카테고리

Help CenterFile Exchange에서 Signal Import and Export에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by