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

1 visualizzazione (ultimi 30 giorni)
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 Commento
Jon
Jon il 4 Mag 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.

Accedi per commentare.

Risposte (1)

Kevin Holly
Kevin Holly il 4 Mag 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:

Categorie

Scopri di più su Develop Apps Using App Designer in Help Center e File Exchange

Prodotti


Release

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by