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!