24小时热门版块排行榜    

CyRhmU.jpeg
查看: 1410  |  回复: 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 的主题更新
信息提示
请填处理意见