Hello Support,
quick question in my GUI code I would love MATlab to give me an alert how many spaces are left in the command line. I have it set for 10 cars in line 98 and it gives me the result in my GUI graph but not in the command line. What would I have to imporive to let it do both?
Thank you so so much in advance

 Akzeptierte Antwort

Walter Roberson
Walter Roberson am 7 Dez. 2020

1 Stimme

fprintf('%d spaces left\n', 10-handles.Num_object);

Weitere Antworten (0)

Kategorien

Mehr zu MATLAB finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2020b

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by