Effacer les filtres
Effacer les filtres

MATlab display calculated answer

1 vue (au cours des 30 derniers jours)
Oskar Kinat
Oskar Kinat le 7 Déc 2020
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

Réponse acceptée

Walter Roberson
Walter Roberson le 7 Déc 2020
fprintf('%d spaces left\n', 10-handles.Num_object);

Plus de réponses (0)

Catégories

En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange

Tags

Produits


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by