查看单个帖子
旧 2008-07-05, 16:23   #2
remnant
普通会员
 
注册日期: 2008-04-12
年龄: 46
帖子: 67
声望力: 19
remnant 正向着好的方向发展
默认

1:saveas( handle, filename, format )

handle: 句柄
filename: 保存的文件的名字
format: bmp, jpg ... ...
如:
hplot = plot( x, y );
saveas( hplot,'E:\maltabwork\test', 'bmp' );
详细请 doc saveas.

2:print( handle, format, filename )
handle: 同上
format: bmp, jpg ... ..,这个和上面写法有些不一样, 如果要存为bmp格式:'-dbmp'
filename: 同上
如:
hplot = plot( x, y );
print( hplot, '-dbmp','E:\matlabwork\test' );
详细请 doc print
remnant 当前离线   回复时引用此帖