- 5
- 0
- 约 16页
- 2017-06-05 发布于河南
- 举报
GUI 初学者视频教授教化源代码整顿(国外英文资料)
GUI 初学者视频教学源代码整理
All of the following code has been successfully run on the computer and can be used as a learning reference.
Video (2) button use, image read
Global im % declares global variable im
% select the image path
[filename, pathname] =...
Uigetfile ({ *.jpg ; *.bmp; *.gif}, choose the image);
% composite path + file name
STR = [the pathname filename];
% reads the images
Im = imread (STR);
% use the first axes
The axes (handles. Axes1);
% display images
Imshow (im);
Button to exit the:
Close (GCF)
Video (3) radiobutton, switch statement, edge of image
Global im % USES global variable
原创力文档

文档评论(0)