随笔分类 -  Matlab

摘要:显示图像的控件为axes假设x1、x2为通过imread读入的图像第一种方法image(x1, 'Parent', handles.axes1)image(x2, 'Parent', handles.axes2)这两条语句就可以在界面Tag分别为axes1和axes2的界面中显示出这两幅图像第二种方法axes(handles.axes1); %#okimshow(x1);这种方法axes会出现警告,xxx is slow什么的,用%#ok可以屏蔽掉警告 阅读全文
posted @ 2012-06-12 15:23 Jim_技迷 阅读(3408) 评论(0) 推荐(0)
摘要:在运行前添加这一句addpath(genpath(pwd));pwd:当前工作目录current working directorygenpath:返回指定目录及其所有子目录所组成的字符串 returns a path string starting in D, plus, recursively,all the subdirectories of D, including empty subdirectories.addpath:将路径添加到搜索目录prepends all the specified directories tothe path 阅读全文
posted @ 2012-06-12 13:49 Jim_技迷 阅读(1397) 评论(0) 推荐(0)