MATLAB : interface GUI - push button call
조회 수: 3 (최근 30일)
이전 댓글 표시
Hello,
I have some functions create on matlab (.m). And I would like to call them on an interface GUI : how my push button callback function can call a function .m (which is in the same workspace) ? Moreover, my function returns some variables so I would like to keep these variables in my workspace in order to access them from other buttons of my interface. And after, is it possible to put the result of a variable on my interface ?
Thank you in advance,
Best regards
댓글 수: 0
채택된 답변
Image Analyst
2015년 3월 15일
Sarah, try this nice framework: http://www.mathworks.com/matlabcentral/fileexchange/24224-magic-matlab-generic-imaging-component
Description:
This GUI will help the novice user get up to speed very quickly on using GUI-based applications. Everything is laid out in a very simple Step 1, Step 2, Step 3, etc. layout. It is a very good starting point for a typical image analysis application. This application uses GUIDE to do the user interface design, and has most of the basic controls such as buttons, listboxes, checkboxes, radio buttons, scrollbars, etc. It allows the user to select a folder of images, select one or more images and display them, to select a series of options, and to individually or batch process one or more images. The user can ...............
Alternatively, try writing your own from scratch after watching this tutorial: http://blogs.mathworks.com/videos/category/gui-or-guide/
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!