COMSOL Livelink for MATLAB Mac

16 visualizaciones (últimos 30 días)
Marissa Whitby
Marissa Whitby el 29 de Sept. de 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!

Respuestas (0)

Categorías

Más información sobre External Language Interfaces en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by