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.
Matlab function is not found
Posted 31 mai 2023, 02:24 UTC−4 LiveLink for MATLAB Version 6.1 0 Replies
Please login with a confirmed email address before reporting spam
Hi, My comsol model calls a matlab function. when I call the function from comsol desktop enviorment, the model runs whell and no error message is given. however, if I save the model mph file as matlab m file and run that m file from matlab, it reports an error:
Java exception occurred: Exception:
com.comsol.util.exceptions.FlException: The following feature has
encountered a problem
Messages:
The following feature has encountered a problem:
- Feature: Dependent Variables 1 (sol1/v1)
Matlab function is not found: InitTempFunc
- Function: InitTempFunc
I put every files in the same folder and open matlab via comsol with matlab. Could any one suggest how to make comsol to find the matlab function?
Thanks, John
Hello Hao Zhang
Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.
If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.