24小时热门版块排行榜    

查看: 4698  |  回复: 2

叶-由

捐助贵宾 (小有名气)

[交流] comsol 5.0 with MATLAB运行的问题 已有1人参与

说明:comsol5.0 安装过程中,Livelink for Matlab选择路径是comsol安装文件自动查询到的,默认路径是matlab安装路径,没有修改,也没有出现问题提示。

之后打开comsol 5.0 with MATLAB,出现以下语句:
Starting the COMSOL Multiphysics LiveLink(TM) for MATLAB(R).

Checking for additional startup script (comsolstartup.m) in: C:\Users\Administrator

Checking for startup script on the MATLAB path

Type mphdoc or help mli for more information

Type mphmodellibrary to open the Model Library

将comsol5.0中文件保存为.M文件,从comsol5.0 with MATLAB中打开,运行结果:
??? Java exception occurred:
Exception:
        com.comsol.util.exceptions.FlException: File not found
        (rethrown as com.comsol.util.exceptions.FlException)
        (rethrown as com.comsol.util.exceptions.FlException)
Messages:
        File not found
        File not found
        File not found.

Stack trace:
        at com.comsol.clientapi.engine.c.handleException(Unknown Source)
        at com.comsol.client.interfaces.f$d.f(Unknown Source)
        at com.comsol.client.interfaces.f.a(Unknown Source)
        at com.comsol.client.interfaces.f.runAndWait(Unknown Source)
        at com.comsol.clientapi.engine.APIEngine.runMethod(Unknown Source)
        at com.comsol.clientapi.engine.APIEngine.runMethod(Unknown Source)
        at com.comsol.clientapi.impl.GeomMeshFeatureClient.importData(Unknown Source)

Caused by: Exception:
        com.comsol.util.exceptions.FlException: File not found
        (rethrown as com.comsol.util.exceptions.FlException)
Messages:
        File not found

本人对comsol刚接触,一直学习官网教学视频,但是对于comsol with matlab纠结了好几天不能解决,在网上看了很多帖子也不明所以,问题可以归纳为几个方面:一是安装路径问题,帖子开头已经说明我安装时的选择;二是保存.m文件,修改后运行查看结果
求大神详细指导,金币可加,谢了谢了!
回复此楼
由来已久,自由自在
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

叶-由

捐助贵宾 (小有名气)

http://cn.comsol.com/system-requirements/50/module
5.0对Matlab配置要求,对于安装过程参考comsol自带帮助说明或者参考书《Multiphysics Modeling——Using comsol 5 and Matlab》附录,后者小木虫有下载可搜索
由来已久,自由自在
2楼2016-02-16 09:30:24
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

truesoul

金虫 (小有名气)


小木虫: 金币+0.5, 给个红包,谢谢回帖
今天遇到相同问题,我的问题的产生原因是m文件所在文件夹被设置为只读了,改了就好了。
3楼2019-09-26 09:42:36
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 叶-由 的主题更新
普通表情 高级回复 (可上传附件)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 售SCI一区文章,我:8.O.551.O.5.4,科目全,可伽急 +3 YLHlRHNwYkce 2026-09-02 7/350 2026-09-03 18:50 by jyNB2vrbdUpR
[硕博家园] 售一区SCI文章T0P,我:8O.551.O54,科目全,可十急 +4 YLHlRHNwYkce 2026-09-02 8/400 2026-09-03 18:50 by jyNB2vrbdUpR
[找工作] 售SCI一区T0P文章,我:8O.55.1.O.54,科目全,可伽急 +4 YLHlRHNwYkce 2026-09-02 11/550 2026-09-03 18:42 by jyNB2vrbdUpR
[硕博家园] 售SCI一区文章,我:8.O.551.O.5.4,科目全,可伽急 +3 rFEsUBKXRll0 2026-09-02 6/300 2026-09-03 16:49 by T0rGB46095mJ
[找工作] 售SCI文章,我:8O.5.5.1O.54,科目全,可十急 +3 ero8OE6tv9cu 2026-09-02 8/400 2026-09-03 16:38 by T0rGB46095mJ
[硕博家园] 售SCI文章,我:8O.5.5.1O.54,科目全,可十急 +3 ero8OE6tv9cu 2026-09-02 5/250 2026-09-03 16:38 by T0rGB46095mJ
[教师之家] 售SCI一区T0P文章,我:8.O55.1.O.54,科目全,可十急 +3 ero8OE6tv9cu 2026-09-02 8/400 2026-09-03 14:48 by T0rGB46095mJ
[基金申请] 麻烦专家们看看评委们的意见(F口面上) +8 gdd2018 2026-08-28 13/650 2026-09-03 06:22 by 羽毛枫f
[公派出国] 售SCI-T0P文章,我:8O.5.5.1.O.54,科目齐全,可+急 +3 ero8OE6tv9cu 2026-09-02 4/200 2026-09-03 03:14 by rM1TE0WVDIIY
[基金申请] 科研人应该花精力去思考如何解决问题,而不是去凝练问题 +7 瞬息宇宙 2026-09-01 14/700 2026-09-02 17:33 by ma0526
[基金申请] 要骂人了,新模版改版就是要淡化问题凝练这种虚的东西,结果有个评委还在说凝练得不够 +9 瞬息宇宙 2026-08-31 17/850 2026-09-02 14:04 by anjeeshine
[基金申请] 基金系统什么内容也没有 30+4 winsaint 2026-08-27 10/500 2026-09-02 11:35 by 大不刘6
[基金申请] 学科评审组评审是指会评吗? +5 瞬息宇宙 2026-08-31 5/250 2026-09-02 10:13 by 雨冰共舞
[基金申请] 面上函评意见出来了,像什么等级? 20+4 Tsingking1 2026-08-27 17/850 2026-09-01 19:51 by 超级无敌华子
[论文投稿] 小白求助 投论文要求的highlights应该如何写 5+3 l1963982152 2026-08-29 4/200 2026-09-01 09:04 by 北京莱茵编辑
[基金申请] 面上意见出来了 +12 黄鸟于飞Chao 2026-08-29 23/1150 2026-08-31 18:57 by 黄鸟于飞Chao
[基金申请] 能否申诉? +7 echo8914667 2026-08-30 8/400 2026-08-31 17:00 by yihongxu
[基金申请] 中青基了要发朋友圈吗? +7 349506619 2026-08-28 7/350 2026-08-31 13:39 by 冼亮淀粉酶
[基金申请] 为什么到现在没收到通知? +5 tannykie 2026-08-29 5/250 2026-08-30 21:05 by purplejack
[基金申请] 国自然评审意见 +13 wangmingqi 2026-08-28 19/950 2026-08-29 10:22 by Poppy1104
信息提示
请填处理意见