mphmodellibrary                        %open the model library
model = mphload('Stationary_model.mph');       %载入名为Stationary_model.mph的模型
mphgeom(model , 'geom1')     %显示几何模型
mphmesh(model , 'mesh')        %显示划分网格
mphplot(model , 'pg1')              %显示最终结果
model.physics('ht').feature('hf1').set('q0', 1, q0S(i));      %修改模型边界条件q0
model.param.set('a', a);            %修改模型变量a
model.sol('sol1').run;                 %  计算模型
%提取坐标为list上的温度值,单位为摄氏度,list
 T = mphinterp(model,{'T'},...
                         'coord',list,...
                         'unit',{'degC'});
ModelUtil.remove('model');    %  从服务器中移除模型

参考网址:

COMSOL中国  工程师(天乐树的博客)http://blog.sina.com.cn/s/articlelist_1242205021_8_1.html  http://blog.sina.com.cn/mxio

Comsol with Matlab Quick Started (1-2):http://blog.sina.com.cn/s/blog_4a0a8b5d0101lmsj.html   http://blog.sina.com.cn/s/blog_4a0a8b5d0101ltu6.html

Comsol with Matlab 应用实例(1-4可从上下篇中找到)http://blog.sina.com.cn/s/blog_4a0a8b5d0101lnwf.html

COMSOL SERVER安装:http://blog.sina.com.cn/s/blog_4a0a8b5d0102xdna.html

"IntroductionToLiveLinkForMATLAB"帮助文档的翻译和个人看法:http://blog.sciencenet.cn/blog-626917-671038.html
COMSOL和MATLAB联合多步骤多参数仿真:https://blog.csdn.net/weixin_44873868/article/details/104701192?utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-4.control&dist_request_id=&depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-4.control
COMSOL与MATLAB联合仿真+RBF神经网络预测输出:https://blog.csdn.net/weixin_44873868/article/details/103980529?utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromMachineLearnPai2%7Edefault-9.control&dist_request_id=&depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromMachineLearnPai2%7Edefault-9.control COMSOL——LiveLink for MATLAB学习2——随机几何的构建:  https://blog.csdn.net/jessica0307/article/details/105451892?utm_medium=distribute.pc_relevant.none-task-blog-baidujs_title-5&spm=1001.2101.3001.4242 matlab占用太多内存_COMSOL livelink with MATLAB 参数化扫描中避免内存不断增加:https://blog.csdn.net/weixin_39906192/article/details/112185988?utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromMachineLearnPai2%7Edefault-10.control&dist_request_id=&depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromMachineLearnPai2%7Edefault-10.control