Link multiple edit fields in app designer

10 visualizaciones (últimos 30 días)
William el 19 de En. de 2023
Comentada: Jiri Hajek el 24 de En. de 2023
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?

Respuesta aceptada

Jiri Hajek
Jiri Hajek el 19 de En. de 2023
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 comentarios
Jiri Hajek
Jiri Hajek el 24 de En. de 2023
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.

Iniciar sesión para comentar.

Más respuestas (0)


Más información sobre Develop Apps Using App Designer en Help Center y File Exchange.




Community Treasure Hunt

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

Start Hunting!

Translated by