variable string in warning dialog b

6 Ansichten (letzte 30 Tage)
sermet
sermet am 29 Aug. 2016
Bearbeitet: Thorsten am 29 Aug. 2016
string=0;
string=num2str(string);
Is it possible to write "number:0" (as 0 is variable) within warning dialog box?

Akzeptierte Antwort

Thorsten
Thorsten am 29 Aug. 2016
Bearbeitet: Thorsten am 29 Aug. 2016
value = 2;
warning(['number ' num2str(value)])

Weitere Antworten (0)

Kategorien

Mehr zu Interactive Control and Callbacks finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by