摘要: 1,在matlab中建一个m文件(test.m)例如:function test(h,D)for x=-10:0.1:10, if x>D y=h; hold on; plot(x,y) elseif x<-D y=-h; hold on; plot(x,y) else y=h/(D*x); hold on; plot(x,y) endend在MATLAB R2007a中输入deploytool命令(在matlab6.5中输入comtool),打开Matlab Build For .net窗口新建个工程,在此工程中“Add files”即填加test.m这个文件,b 阅读全文
posted @ 2011-08-17 10:03 gisdream 阅读(6223) 评论(1) 推荐(0) 编辑