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

 채택된 답변

Walter Roberson
Walter Roberson 2020년 12월 7일

1 개 추천

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 MATLAB에 대해 자세히 알아보기

제품

릴리스

R2020b

태그

질문:

2020년 12월 7일

답변:

2020년 12월 7일

Community Treasure Hunt

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

Start Hunting!

Translated by