24小时热门版块排行榜    

查看: 851  |  回复: 0

罒夕

金虫 (正式写手)

[求助] 与matlab联合仿真报错:Invalid degree of freedom in property Solcomp

COMSOL与MATLAB联合仿真遇到一个问题,希望大神指点一下,问题具体如下:
??? Java exception occurred:
Exception:
        com.femlab.jni.FlNativeException: Invalid degree of freedom in property Solcomp
Messages:
        Invalid degree of freedom in property Solcomp

出问题的是femtime函数,函数内容如下:
% Solve model
fem.sol=femtime(fem,...
    'solcomp',{'V','T'},... % Solve for both V
    'outcomp',{'V','T','Vt','Tt'},... % Include Voltage derivatives
    'Tlist',(0:Interval/2:Interval),... % Time steps to solve
    'Atol','0.01',... % Absolute tolerance value
    'Rtol',0.001,... % Relative tolerance value
    'Tout','tlist',...
    'Tsteps','strict'); % Use strict time stepping to solve voltage

使用的是COMSOL 3.5a和matlab2010b,之前google上查到类似的错误,说可能是因为版本匹配问题,所以我更换过matlab2007b/2009b和comsol4.0,都不行,要么版本太高函数不对报错(代码不是我写的,所以现在也不会改),要么也有类似上面的问题。
回复此楼

» 猜你喜欢

已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 罒夕 的主题更新
信息提示
请填处理意见