找回密码
 注册
Simdroid-非首页
查看: 281|回复: 3

[13.脚本命令] 请问用批处理的方式怎么执行comsol with malab?

[复制链接]
发表于 2009-5-21 14:33:50 | 显示全部楼层 |阅读模式 来自 浙江杭州
有人做过comsol和isight的集成吗?谢了
发表于 2009-5-21 23:34:08 | 显示全部楼层 来自 黑龙江哈尔滨
Simdroid开发平台
use dos command: C:\COMSOL35\bin\comsolbatch.exe -input  C:\COMSOL35\models\ACDC_Module\Motors_and_Drives\generator_sector_dynamic.mph

I did a multi-objective optimization by integrating isight with comsol.  This way is much more efficient than using comsol-optimization lab alone, especially for multiobjective optimization.
回复 不支持

使用道具 举报

 楼主| 发表于 2009-5-22 10:12:46 | 显示全部楼层 来自 浙江杭州
本帖最后由 zcz6516 于 2009-5-22 14:02 编辑
use dos command: C:\COMSOL35\bin\comsolbatch.exe -input  C:\COMSOL35\models\ACDC_Module\Motors_and_Drives\generator_sector_dynamic.mph

I did a multi-objective optimization by integrating isight wit ...
TBE_Legend 发表于 2009-5-21 23:34

comsolbatch.exe myscript 哈哈 可以运行了
谢谢!

评分

1

查看全部评分

回复 不支持

使用道具 举报

发表于 2009-5-22 17:20:53 | 显示全部楼层 来自 黑龙江哈尔滨
本帖最后由 TBE_Legend 于 2009-5-22 22:54 编辑

yes, there are several ways to solve COMSOL .m files, such as:

1) use fem structure in a function. this may be the easiest way.
2) use dos command. (however there are some strange differences of command sytax  between 3.5 and 3.5a and "comsolbatch.exe myscript" seems doesn't work in 3.5a. you should use something like C:\COMSOL35a\bin\comsol.exe matlab -ml /nodesktop -ml /nosplash -mlr mycomsolscript)
3) use unix shell. This is the most powerful and flexible way.
回复 不支持

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|小黑屋|联系我们|仿真互动网 ( 京ICP备15048925号-7 )

GMT+8, 2024-4-23 23:13 , Processed in 0.042529 second(s), 17 queries , Gzip On, MemCache On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表