COMSOL Livelink for MATLAB Mac

18 visualizzazioni (ultimi 30 giorni)
Marissa Whitby
Marissa Whitby il 29 Set 2021
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!

Risposte (0)

Categorie

Scopri di più su External Language Interfaces in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by