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

1 view (last 30 days)
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 Comment
Jon
Jon on 4 May 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.

Sign in to comment.

Answers (1)

Kevin Holly
Kevin Holly on 4 May 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:

Categories

Find more on Image Processing Toolbox in Help Center and File Exchange

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!