Link multiple edit fields in app designer
조회 수: 11 (최근 30일)
이전 댓글 표시
I have a parameter which is accesible through a edit field. I would like this parameter to also be accessible in another tab. Is it possible to somehow link two edit fields or make a second instance of the same edit field?
댓글 수: 0
채택된 답변
Jiri Hajek
2023년 1월 19일
Hi, you can use a callback on the first edit field (ValueChangedFcn). In this callback function, you simple assign the new value to the target edit field value.
댓글 수: 2
Jiri Hajek
2023년 1월 24일
Yes, I see your point. There might be a possibility to link directly properties of you objects using linkprop. But actually I'm not sure if this is possible for app components. I have used it for axes properties though and it worked fine.
추가 답변 (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!