Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

Matlab with COMSOL - unable to link

Please login with a confirmed email address before reporting spam

Hello, I have just started to learn COMSOL and I would like to integrate MATLAB into my workflow as I have lots of experience with it. I followed my documentation for Livelink, COMSOL version 5.3m MATLAB 2017a. The following are the commands I used in a sequence: mphlaunch model=ModelUtil.create('Model'); model.param.set('L','9[cm]','Length'); geom1=model.geom.create('geom1',3); wp1=geom1.feature.create('wp1','WorkPlane'); wp1.set('quickplane','xz'); r1=wp1.geom.feature.create('r1','Rectangle'); r1.set('size',{'L','0.1'}); geom1.run

at This point I expected to see some update in the COMSOL interface, but alas there is none!

I tried this twice, with a complete restart of the system in between. Not sure exactly what is going wrong, so please give me some pointers!

Thanks

Yameng


0 Replies Last Post 13 dic 2017, 05:14 GMT-5
COMSOL Moderator

Hello Yameng Cao

Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.

If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.