필터 지우기
필터 지우기

waitbar uifigure the message input argument cannot support the char '_'

조회 수: 1 (최근 30일)
Vico Wu
Vico Wu 2023년 1월 6일
댓글: Vico Wu 2023년 1월 9일
I want to use the waitbar uifigure to display some information,the message argument include the char '_',but it cannot display,and it can cause other adjacent char to also display exception. I want to know how to fix this problem?

채택된 답변

Voss
Voss 2023년 1월 6일
One way:
HdlWaitBar = waitbar(0,'Hello World A\_B\_C\_D...');
Another way:
str = 'Hello World A_B_C_D...';
str = strrep(str,'_','\_');
HdlWaitBar = waitbar(0,str);

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Dialog Boxes에 대해 자세히 알아보기

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by