COMSOL Livelink for MATLAB Mac
22 views (last 30 days)
Show older comments
I am trying to setup COMSOL Livelink for MATLAB and I am utterly failing. Everything I keep finding on the internet is mainly made for Windows. I found this https://www.comsol.com/forum/thread/118022/connect-to-comsol-through-matlab-on-osx-mac . In the link the person lists he code that starts COMSOL from matlab (written for windows)
FOR WINDOWS:
PathCOMSOL = 'C:/Program Files/COMSOL/COMSOL51/Multiphysics/';
<Irrelevant code>
% connect MATLAB to COMSOL. The first command below uses the "dos.m"
% function
dos(['"',PathCOMSOL,'bin/win64/comsolmphserver.exe" -graphics &']);
addpath([PathCOMSOL,'mli']);
mphstart
SUGGESTION FROM PERSON IN COMMENTS:
This is the command for starting Comsol Multiphysics Server on Mac:
path = '/Applications/COMSOL52a/Multiphysics/bin/comsol mphserver -graphics &'
This did not work for me and mphstart does not work. I am very confused and would really appreciate some help. THANK YOU!
0 Comments
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!