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