How to display output results (image + data) from varargout in AppDesigner

1 回表示 (過去 30 日間)
Mark Talbot
Mark Talbot 2019 年 10 月 15 日
回答済み: Sid Singh 2019 年 10 月 24 日
Hi,
I wrote a function which outputs a labelled image (using 'export_fig', fileexchange), and some data acquired from analysis of the image. Im using varargout to access these outputs. I would like to display (1) the labelled image, (2) the data as accessed from varargout (see screenshot of app). However, every time the user clicks 'Process sample...' I would need the output to update every time a new sample is loaded and analyzed. 'Summary results' in the app screenshot are single % values, while the 'data' table will display ~12 columns of data from 200-300 objects in the analyzed image. How do I get AppDesigner to access these outputs using callback/s, and how to make sure they are updated every time a new sample is analyzed? I'm sorry if this is a simple question, or been asked a million times before, but I cant find much help. I'm using v2019b.
Thanks
AppDesign.PNG

採用された回答

Sid Singh
Sid Singh 2019 年 10 月 24 日
Hi, you can display an image using the below function.
Similarily, tabular data can be displayed using this,
You can find informaton on how to attach callbacks to uibutton objects here,

その他の回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by