uilable with variable and char
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
TheDice
am 22 Apr. 2021
Kommentiert: Scott MacKenzie
am 22 Apr. 2021
Hello I have a label into which I integrate my variable v. If I write it like in the example it works. But I would like that there is "Measurement "v" char(948)". How can i solve my problem?
app.Field(v) = uilabel('Parent',app.Panel_2,'Position',[10,10,110,22],'Text',(("Measurement "+v)));
2 Kommentare
Scott MacKenzie
am 22 Apr. 2021
What do you mean by
I would like that there is "Measurement "v" char(948)"
What, exactly, are you trying to present in the label? It would help if you gave an example.
Akzeptierte Antwort
VBBV
am 22 Apr. 2021
%if true
app.Field(v) = uilabel('Parent',app.Panel_2,'Position',[10,10,110,22],'Text',["Measurement "+v]);
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Develop Apps Using App Designer finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!