24小时热门版块排行榜    

查看: 1828  |  回复: 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 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[文学芳草园] 梦想 +5 myrtle 2026-08-26 5/250 2026-08-31 14:40 by hahaboy
[基金申请] 29号明天会评吗 +4 笨笨唐 2026-08-28 4/200 2026-08-31 09:30 by huixian257
[基金申请] 基金不中,共勉 +12 eulota 2026-08-26 12/600 2026-08-31 08:42 by ZJTJZ
[基金申请] 面上意见出来了 +10 黄鸟于飞Chao 2026-08-29 19/950 2026-08-31 08:01 by blueearth171
[考博] 找导师 +6 yuanjiabao 2026-08-29 7/350 2026-08-30 14:40 by 生科新手
[基金申请] 麻烦专家们看看评委们的意见(F口面上) +6 gdd2018 2026-08-28 11/550 2026-08-30 08:58 by 超级无敌华子
[基金申请] 我就是申请一个面上项目而已,这评审意见是按照杰青的条件评的吧? +6 gouxfjh 2026-08-28 11/550 2026-08-30 07:57 by gouxfjh
[基金申请] 国自然面上复盘~欢迎讨论 (金币+15) +15 晴天加油 2026-08-26 16/800 2026-08-29 18:28 by symmetry
[基金申请] 系统查不到 +11 董八千 2026-08-26 11/550 2026-08-28 18:06 by Leogzhya
[基金申请] 怎么查啊 +6 huang1991js 2026-08-26 6/300 2026-08-28 08:42 by winsaint
[基金申请] 哪位高人中了,把查询到的截图贴出来让我看看,让我长长见识 +5 yuleib84 2026-08-26 6/300 2026-08-28 00:02 by yudaoqian88
[基金申请] 面上合作单位盖章 +5 ssyjh 2026-08-27 5/250 2026-08-27 20:50 by gdfollow
[基金申请] 看板上这么多中的,有点像50人群里49个人都是骗子的那种感觉…… +5 a089 2026-08-26 6/300 2026-08-27 14:05 by jonewore
[基金申请] 2026年8月25日国自然放榜前突然收到列入评审专家邮件,有关系吗? +25 木水思豆 2026-08-25 28/1400 2026-08-26 14:53 by draco1987
[基金申请] 出来了 +9 trojank 2026-08-26 9/450 2026-08-26 14:25 by 宝贝虫子
[基金申请] 为什么国自然不能直接公布 +4 bjdxyxy 2026-08-26 4/200 2026-08-26 13:12 by qingmu1201
[基金申请] 国合里面能看到了 +7 一怀馨秋 2026-08-26 7/350 2026-08-26 11:23 by zhaosm1982
[基金申请] 系统进不去 +4 yanglien 2026-08-26 5/250 2026-08-26 11:10 by wenfengw83
[基金申请] 今天务委会开完了,明天出结果吗 +19 angus9576 2026-08-25 23/1150 2026-08-26 10:03 by zp519
[基金申请] 牛来!米来!面来! +8 beefly 2026-08-26 8/400 2026-08-26 08:37 by xuzhipiao
信息提示
请填处理意见