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?

 Réponse acceptée

Thorsten
Thorsten le 29 Août 2016
Modifié(e) : Thorsten le 29 Août 2016
value = 2;
warning(['number ' num2str(value)])

Plus de réponses (0)

Catégories

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by