How to display output results (image + data) from varargout in AppDesigner
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Mark Talbot
le 15 Oct 2019
Réponse apportée : Sid Singh
le 24 Oct 2019
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](https://www.mathworks.com/matlabcentral/answers/uploaded_files/242695/image.png)
0 commentaires
Réponse acceptée
Sid Singh
le 24 Oct 2019
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 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Develop Apps Using App Designer dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!