COMSOL Livelink for MATLAB Mac

조회 수: 14 (최근 30일)
Marissa Whitby
Marissa Whitby 2021년 9월 29일
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개)

카테고리

Help CenterFile Exchange에서 External Language Interfaces에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by