Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

Livelink for MATLAB

Please login with a confirmed email address before reporting spam

Hello,

I am learning how to use LiveLink for MATLAB. The problem is when I try to plot an external matlab functions in a model, an error message appear with Fatal error.

Please note that the MATLAB directory is properly defined, and I already went through creating an application through MATLAB interface (busbar documentation) and it worked fine. the problem appears only when I want to call functions from MATLAB to COMSOL interface. Also, I set the allow MATLAB external functions to 'YES' and checked the box for allow external processes (in preferences security).

Regards, Mohammad Hdaib


1 Reply Last Post 24.05.2023, 05:24 GMT-4
Lars Gregersen COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 2 years ago 24.05.2023, 05:24 GMT-4

This could be an installation problem. There is an example in the Model Library for LiveLink for Matlab called Vaccum Flask. Does that work for you?

If the example doesn't work for you I suggest you contact support. Please submit the exact error message you see.

-------------------
Lars Gregersen
Comsol Denmark
This could be an installation problem. There is an example in the Model Library for LiveLink for Matlab called Vaccum Flask. Does that work for you? If the example doesn't work for you I suggest you contact support. Please submit the exact error message you see.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.