variable string in warning dialog b

6 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Interactive Control and Callbacks 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by