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

1 回表示 (過去 30 日間)
Miguel Ferreira De Lima
Miguel Ferreira De Lima 2023 年 5 月 4 日
回答済み: Kevin Holly 2023 年 5 月 4 日
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 件のコメント
Jon
Jon 2023 年 5 月 4 日
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.

サインインしてコメントする。

回答 (1 件)

Kevin Holly
Kevin Holly 2023 年 5 月 4 日
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:

カテゴリ

Help Center および File ExchangeDevelop Apps Using App Designer についてさらに検索

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by