필터 지우기
필터 지우기

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

조회 수: 2 (최근 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 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