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

[11.其他多场耦合] import an m-file

[复制链接]
发表于 2006-1-19 11:24:14 | 显示全部楼层 |阅读模式 来自 上海浦东新区
Hello everyone,

i followed the idea from my previous mail and saved a .fl file as .m
file in order better to understand the described problem. My question
now is it possible to import back this file in Femlab after small
changes have been done.

Thanks in advance.

Dipl.-Ing. Dragomir Deltchev
Technical University Karlsruhe
 楼主| 发表于 2006-1-19 11:27:15 | 显示全部楼层 来自 上海浦东新区

Re:import an m-file

Simdroid开发平台
Hello everyone,
  Yes. It is possible to import back the m-file to Femlab. The important thing to be noted is, whatever change we make in femlab will be written as code in matlab. So at first if we have given something wrong in femlab and have corrected, then that change will also be saved in matlab. So when u run matlab command or import back to femlab, make sure that only the corrected things are in matlab.
   And also, before saving Femlab files as .m files, goto to file and reset the model to erase all the previously done corrections.

Thanks
Regards,
abaddon 该用户已被删除
发表于 2006-2-1 22:36:50 | 显示全部楼层 来自 江苏南京
提示: 作者被禁止或删除 内容自动屏蔽
 楼主| 发表于 2006-2-5 10:30:34 | 显示全部楼层 来自 上海浦东新区

Re:import an m-file

you should run the femlab with matlab, Then you can run the m file in matlab
abaddon 该用户已被删除
发表于 2006-2-5 19:34:00 | 显示全部楼层 来自 江苏南京
提示: 作者被禁止或删除 内容自动屏蔽
 楼主| 发表于 2006-2-6 15:09:54 | 显示全部楼层 来自 上海浦东新区

Re:import an m-file

Can you upload the m file. I will try it.
abaddon 该用户已被删除
发表于 2006-2-10 22:19:54 | 显示全部楼层 来自 江苏南京
提示: 作者被禁止或删除 内容自动屏蔽
abaddon 该用户已被删除
发表于 2006-2-11 10:37:34 | 显示全部楼层 来自 江苏南京
提示: 作者被禁止或删除 内容自动屏蔽
 楼主| 发表于 2006-2-13 10:27:24 | 显示全部楼层 来自 上海浦东新区

Re:import an m-file

% Solve problem
fem.sol=femnlin(fem, ...
                'symmetric','on', ...
                'solcomp',{'tExEyEz'}, ...
                'outcomp',{'tExEyEz'}, ...
                'linsolver','spooles');
这个好现有问题吧!
因为为
% Solve problem
fem.sol=femnlin(fem, ...
                'symmetric','on', ...
                'solcomp',{'t' , 'Ex' ,'Ey' ,'Ez'}, ...
                'outcomp',{'t', 'Ex','Ey' ,'Ez'}, ...
                'linsolver','spooles');
abaddon 该用户已被删除
发表于 2006-2-13 18:04:13 | 显示全部楼层 来自 江苏南京
提示: 作者被禁止或删除 内容自动屏蔽
abaddon 该用户已被删除
发表于 2006-2-23 18:28:35 | 显示全部楼层 来自 英国
提示: 作者被禁止或删除 内容自动屏蔽
abaddon 该用户已被删除
发表于 2006-2-27 20:56:30 | 显示全部楼层 来自 英国
提示: 作者被禁止或删除 内容自动屏蔽
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-4-28 10:07 , Processed in 0.042816 second(s), 15 queries , Gzip On, MemCache On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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