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.

Comsol Livelink Matlab Syntax Error

Please login with a confirmed email address before reporting spam

I am fairly new with using LiveLink Matlab. I am trying to use the command mphinterp (with the help of the COMSOL user guide). The syntax I am using is :

Tcl = mphinterp(model,'T','coord', [ 0,0,20;0,0,25])

I have used mpheval with no errors, but when I use mphinterp, the error I get is:

??? Error using ==> mphinterp at 290
Java exception occurred:
Exception:
com.comsol.util.exceptions.FlException: Invalid value of
element dimension
Messages:
Invalid value of element dimension

I am wondering if anyone could help or give any suggestions. I am curious what MATLAB is expecting in the coord double matrix. (If thats where the error is)
Thanks

0 Replies Last Post 26 lug 2012, 11:34 GMT-4
COMSOL Moderator

Hello Lucas Kyriazidis

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.

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.