variable string in warning dialog b

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 ExchangeNumeric 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