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

3 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Develop 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