App Desginer, Select point in image to update Value Changing variable

1 visualización (últimos 30 días)
Hi, im trying to desgin an app that show slices of a 3D image in app Designer. Using three Spinners I am able to change the value for the variable holding the number of the slice. I would like to be able to use the mouse to click on the first image and get the coordinates to update the other variables
after looking at other answers i have tried creating a mouseClick function using get and 'Current Point' but i can't seem to get the values to change
My code is attached
  1 comentario
Jon
Jon el 4 de Mayo de 2023
I was unable to try out your app, because I don't have the Image Processing toolbox, which is needed to generate data using test.m. Would it be possible for you to make a standalone example, that doesn't require the Image Processing Toolbox? Perhaps you could just attach a .mat file with the needed variables.

Iniciar sesión para comentar.

Respuestas (1)

Kevin Holly
Kevin Holly el 4 de Mayo de 2023
I made an app that used a listener to retrieve the current point on an axes and update a uilabel with the value in a response to a question here:

Categorías

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

Productos


Versión

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by