string=0;
string=num2str(string);
Is it possible to write "number:0" (as 0 is variable) within warning dialog box?

 채택된 답변

Thorsten
Thorsten 2016년 8월 29일
편집: Thorsten 2016년 8월 29일

1 개 추천

value = 2;
warning(['number ' num2str(value)])

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Numeric Types에 대해 자세히 알아보기

태그

질문:

2016년 8월 29일

편집:

2016년 8월 29일

Community Treasure Hunt

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

Start Hunting!

Translated by