![]() |
[求助]哪们仁兄帮下忙(有关MATLAB WebServer)
最近忙毕业设计出现了一个问题,愁死了都,谁知道的帮忙说下哈!!1
在设计MATLAB与网页互联的时候,输入网面为: <form action="/cgi-bin/matweb.exe" method="post"> <input type="hidden" name="mlmfile" value="ggj"> <input name="fz" type="text" size="20" /> <input name="fm" type="text" size="20" /> <input type="submit"name="Submit"value="提交" /> 我的.M文件是这样写的: function retstr=ggj(in) retstr=char(''); cd(in.mldir); num=str2num(in.fz); den=str2num(in.fm); sys=tf(num,den); f=figure('visible','off'); pzmap(sys); drawnow; pic1=sprintf('%spic1.jpeg',in.mlid); wsprintjpeg(f,pic1); close(f); out.p=pic1; tmpfile=which('syfx12.html'); retstr=htmlrep(out,tmpfile); 输出网面的名字是syfx12.html,但是在输入数据提交时,却不能得到图形,在根目录里面也没有生成图形,只有一张空白的图片,这是怎么回事啊??? |
我也遇到这个问题了,而且我的点击“提交”之后出现“Error: recv1() error: 10054 ”,请问这是怎么回事?
|
所有时间均为北京时间。现在的时间是 12:30。 |
Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.