24小时热门版块排行榜    

查看: 1860  |  回复: 5

zhangleiii

新虫 (初入文坛)

[求助] 求助matlab问题

我用Xmanager Enterprise 4 计算matlab程序,我的程序在电脑上可以运行,但是放到这个服务器上就出错,请教高手解答,谢谢!下面是错误提示。

function result     
|
Error: Function definitions are not permitted in this context.

Error using feval
Undefined function 'weife' for input arguments of type 'double'.

Error in odearguments (line 88)
f0 = feval(ode,t0,y0,args{:});   % ODE15I sets args{1} to yp0.

Error in ode113 (line 114)
[neq, tspan, ntspan, next, t0, tfinal, tdir, y0, f0, odeArgs, odeFcn, ...

Undefined function or variable 'z'.

function dp=weife(z,p)
|
Error: Function definitions are not permitted in this context.

Undefined function 'p' for input arguments of type 'double'.

Undefined function 'p' for input arguments of type 'double'.

      function m1=jifen1(z,p,b)
     |
Error: Function definitions are not permitted in this context.

Undefined function or variable 'b'.

Undefined function or variable 'V1'.

Undefined function or variable 'V1'.

Undefined function or variable 'W1'.

Undefined function or variable 'J1'.

Undefined function or variable 'q1'.

      function m2=jifen2(z,p,b)
     |
Error: Function definitions are not permitted in this context.

Undefined function or variable 'b'.

Undefined function or variable 'V2'.

Undefined function or variable 'V2'.

Undefined function or variable 'W2'.

Undefined function or variable 'J2'.

Undefined function or variable 'q2'.

      function m3=jifen3(z,p)
     |
Error: Function definitions are not permitted in this context.

Undefined function or variable 'p'.

Undefined function or variable 'q3'.

      function [I,step]=Roberg(f,a,b,eps)
     |
Error: Function definitions are not permitted in this context.

Undefined function or variable 'f'.

Undefined function or variable 'f'.

Attempted to access T(2,2); index out of bounds because numel(T)=1.

         function s1=su1(r,p)
        |
Error: Function definitions are not permitted in this context.

Undefined function 'p' for input arguments of type 'double'.

         function s2=su2(r,p)
        |
Error: Function definitions are not permitted in this context.

Undefined function 'p' for input arguments of type 'double'.
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

笑盲虫

木虫 (著名写手)

看了一下,不太懂
用文字走路,用行动分析
2楼2012-02-15 16:09:09
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

zhangleiii

新虫 (初入文坛)

引用回帖:
: Originally posted by 笑盲虫 at 2012-02-15 16:09:09:
看了一下,不太懂

还是谢谢你,呵呵!
3楼2012-02-16 09:40:51
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

luomann

至尊木虫 (正式写手)

【答案】应助回帖

感谢参与,应助指数 +1
zhangleiii(金币+2): 2012-02-18 09:43:57
应该是你的程序在windows和Linux下的差异!可以查下看看!
看看用的Matlab版本是否不一样?给的错误信息太多太杂,无法分析
4楼2012-02-17 08:51:30
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

zhangleiii

新虫 (初入文坛)

引用回帖:
: Originally posted by luomann at 2012-02-17 08:51:30:
应该是你的程序在windows和Linux下的差异!可以查下看看!
看看用的Matlab版本是否不一样?给的错误信息太多太杂,无法分析

解决了,是图形的问题~~谢谢!
5楼2012-02-18 09:43:40
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

kaletoppest

金虫 (小有名气)

引用回帖:
5楼: Originally posted by zhangleiii at 2012-02-18 09:43:40
解决了,是图形的问题~~谢谢!...

楼主是怎么解决的啊??
6楼2013-01-06 22:09:42
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 zhangleiii 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[公派出国] 售SCI-T0P文章,我:8O.5.5.1.O.54,科目齐全,可+急 +3 LwdutQ8HoqWP 2026-09-13 5/250 2026-09-14 16:25 by Aj1rhIDL5ixY
[教师之家] 售SCI一区文章,我:8.O.55.1.O.54,科目齐全,可伽急 +3 LwdutQ8HoqWP 2026-09-13 4/200 2026-09-14 16:13 by Aj1rhIDL5ixY
[考研] 售SCI文章,我:8O5.5.1.O.54,科目齐全,可+急 +4 LwdutQ8HoqWP 2026-09-13 4/200 2026-09-14 16:12 by Aj1rhIDL5ixY
[找工作] 售SCI一区文章,我:8O5.5.1.O5.4,科目全,可伽急 +4 3n8v2C8RimXI 2026-09-13 4/200 2026-09-14 16:00 by Aj1rhIDL5ixY
[博后之家] 售SCI一区T0P文章,我:8.O55.1.O.54,科目全,可十急 +4 3n8v2C8RimXI 2026-09-13 4/200 2026-09-14 15:57 by Aj1rhIDL5ixY
[教师之家] 售SCI一区T0P文章,我:8.O.55.1.O.54,科目齐全,可+急 +4 3n8v2C8RimXI 2026-09-13 4/200 2026-09-14 15:48 by Aj1rhIDL5ixY
[考研] 售SCI一区T0P文章,我:8.O.55.1.O54,科目全,可伽急 +3 3n8v2C8RimXI 2026-09-13 4/200 2026-09-14 15:45 by Aj1rhIDL5ixY
[考博] 售SCI文章,我:8O.5.5.1O.54,科目全,可十急 +4 3n8v2C8RimXI 2026-09-13 4/200 2026-09-14 15:37 by Aj1rhIDL5ixY
[找工作] 售SCI一区T0P文章,我:8.O.55.1.O.5.4,科目全,可+急 +5 QUjhNVAcOSff 2026-09-13 6/300 2026-09-14 15:21 by Aj1rhIDL5ixY
[考博] 售SCI文章,我:8O5.5.1.O.54,科目齐全,可+急 +4 QUjhNVAcOSff 2026-09-13 4/200 2026-09-14 15:13 by Aj1rhIDL5ixY
[博后之家] 售SCI一区T0P文章,我:8O.55.1.O.54,科目全,可伽急 +3 QUjhNVAcOSff 2026-09-13 4/200 2026-09-14 15:01 by Aj1rhIDL5ixY
[公派出国] 售SCI一区T0P文章,我:8.O55.1.O.54,科目全,可十急 +4 QUjhNVAcOSff 2026-09-13 6/300 2026-09-14 15:00 by Aj1rhIDL5ixY
[基金申请] 求教各位大神:2026教育部人文社科青年基金项目何时公示呀? +5 云宴山人 2026-09-10 7/350 2026-09-14 12:11 by ecnu2013
[找工作] 浙江师范大学是怎么坑我的 +6 recruit123 2026-09-09 6/300 2026-09-14 12:00 by 萨仁其其格
[博后之家] 售SCI一区T0P文章,我:8.O.55.1.O.5.4,科目全,可+急 +3 QUjhNVAcOSff 2026-09-13 3/150 2026-09-14 10:11 by 23jxep3nCNZb
[考研] 售SCI一区文章,我:8.O.551.O.5.4,科目全,可伽急 +3 QUjhNVAcOSff 2026-09-13 4/200 2026-09-14 10:01 by 23jxep3nCNZb
[考博] 西北工业大学材料学院电化学传感与催化课题组招收2027年推免研究生、博士生、博士后 +3 马方园 2026-09-10 4/200 2026-09-14 09:29 by Chem张zz
[教师之家] 浙江师范大学是怎么坑我的 +10 recruit123 2026-09-09 15/750 2026-09-13 10:45 by seaskyy
[基金申请] 面上有专家说实验设备不是我们单位的 +6 zj_muchong 2026-09-08 8/400 2026-09-11 06:56 by suifengdao
[有机交流] 科研求助 10+4 我吃一只鱼 2026-09-07 4/200 2026-09-10 08:32 by 0940628
信息提示
请填处理意见