Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.
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" error in MATLAB livelink
Posted 11.03.2014, 21:52 GMT-4 Interfacing, Heat Transfer & Phase Change Version 4.4 0 Replies
Please login with a confirmed email address before reporting spam
extm1=model.func.create('extm1', 'MATLAB');
Density=extm1.setIndex('funcs', 'Density', 0, 0);
extm1.setIndex('funcs', 'T', 0, 1);
mat1.propertyGroup('def').set('density', {'Density(T)[kg/m^3]'});
As soon as I execute (std1.run) a “MATLAB command window” shows up and the code execution breaks due to the following error.
Matlab function is not found: Density
- Function: Density
- Feature: Time-Dependent Solver 1 (sol1/t1)
- Error: Matlab function is not found: Density
I greatly appreciate it if you help me with this problem.
Hello Iman Ghamarian
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.