声振论坛

 找回密码
 我要加入

QQ登录

只需一步,快速开始

查看: 1071|回复: 1

[混合编程] 用matlab web sever,出现的问题

[复制链接]
发表于 2008-7-2 16:53 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?我要加入

x
retstr=char('')
mild=getfield(h,'mlid');
cd(h.mldir);
wscleanup('m1*peaks.jpeg',1);
%导入原始数据
fid = fopen('fig_1_data.dat', 'r');
a = fscanf(fid, '%g %g', [2 inf])    % It has two rows now.
a = a';
%fclose(fid);
f=figure('visible','off')
plot(a);%导入原始数据并作图
drawnow;
s.picname=sprintf('%speaks.jpeg',mlid);
wsprintjpeg(f,s.picname);
s.picname=sprintf('/icons/%speaks.jpeg',mlid);
templatefile=which('outplot.htm');
retstr=htmlrep(s,templatefile);


MATLAB Application Error:
Error: File: C:\MATLAB7\toolbox\webserver\wsdemos\webplot.m Line: 11 Column: 8 Missing variable or function.
不知道怎么解决,望大家帮忙
回复
分享到:

使用道具 举报

发表于 2008-7-13 23:42 | 显示全部楼层
好像你的webpolt函数没有帖上来阿,最近我也在抽时间搞这个。有时间可以交流。
您需要登录后才可以回帖 登录 | 我要加入

本版积分规则

QQ|小黑屋|Archiver|手机版|联系我们|声振论坛

GMT+8, 2024-5-9 16:19 , Processed in 0.048029 second(s), 17 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表