variable string in warning dialog b

3 ビュー (過去 30 日間)
sermet
sermet 2016 年 8 月 29 日
編集済み: Thorsten 2016 年 8 月 29 日
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 日
value = 2;
warning(['number ' num2str(value)])

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeData Type Conversion についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by