Comsol Livelink with Matlab standalone App

Hello,
My script iteratively solves a plasma model on matlab coupled with a thermal simulation on Comsol. In order to make things more user friendly I would like to create a standalone app with Matlab complier, but is it possible to mantain the livelink with Comsol?
Thanks,
Davide

댓글 수: 4

Mario Malic
Mario Malic 2020년 12월 13일
Hi Davide,
What do you mean by maintaining the link with COMSOL? In general, everything should be doable. It's best if you try to create a simple app that would test what you need.
N/A
N/A 2020년 12월 13일
Thank's for your answer Mario,
Basically I use the livelink between Comsol and Matlab running Comsol in batch mode. In each iteration I pass parameters from Matlab to Comsol, perform the simulation, retrieve the results in Matlab, correct the initial guesses and start again till convergence. I tried building a preliminary version of the app and as long as I run it inside matlab everything works fine.
Then I tried the standalone application but at that point the simulation does not start, I suppose that's because Comsol is linked to Matlab through its installation path , not to a generic standalone application based on Matlab.
In both the softwares there is the possibility to create standalone applications without requiring a server or an active license, so I was wandering if there where the possibility to merge the two things in a standalone app to perform just my simulation with all the comodities of having a separate programme.
In any case I'll write a much simpler simulation just to try out different possibilities.
Mario Malic
Mario Malic 2020년 12월 13일
I glanced briefly on the this video for LiveLink https://www.comsol.ch/video/18-minute-intro-to-livelink-for-matlab, to connect with your COMSOL instance, you probably have to use mph____ commands, see 9:00 on the video from the link. I am sure you are familiar with the LiveLink™ for MATLAB® User’s Guide which covers all the needed stuff.
Hi DAvide,
Could you find a solution for your question?
I m ahaving the same issue and trying to find out if it is doable.
Thanks
Farough

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 External Language Interfaces에 대해 자세히 알아보기

질문:

N/A
2020년 12월 12일

댓글:

2021년 6월 27일

Community Treasure Hunt

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

Start Hunting!

Translated by