uilable with variable and char
조회 수: 2 (최근 30일)
이전 댓글 표시
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
Scott MacKenzie
2021년 4월 22일
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.
채택된 답변
VBBV
2021년 4월 22일
%if true
app.Field(v) = uilabel('Parent',app.Panel_2,'Position',[10,10,110,22],'Text',["Measurement "+v]);
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!