MATLAB notes-Gui GUI Programming

Source: Internet
Author: User

1) Addition CalculatorProgram

Program function: simple addition Function

Course description: describes the basic process of GUI Design.

Link: http://wenku.baidu.com/view/19a9423e0912a216147929c8.html

Note: In the 2013a environment, after learning above, the str2num function call will be thrown during running, and an exception occurs. Cause: Use get (handles. edit1, 'string') the object obtained from the text box is not a string, but a cell. You need to make a simple adjustment.Code:

Input = str2num (get (hobject, 'string '));

Modified code:

A = get (hobject, 'string'); input = str2num (A {1 });

 

2) binarization Image Processing Program

Program function: open the file selection dialog box on the menu bar, select and display images, perform binarization processing through the scroll bar, and display the processing results in real time. You can save the results to the file.

Learning Content: design of standard menus and right-click menus; call of file dialogs; display of images; setting and calling of global variables; mutual calls between multiple figures;

Link: http://wenku.baidu.com/view/fdf6ad6925c52cc58bd6be8e.html

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.