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.
Error while using mphinterp function
Posted 20 janv. 2017, 05:52 UTC−5 Low-Frequency Electromagnetics, Interfacing Version 5.0 3 Replies
Please login with a confirmed email address before reporting spam
Dear All,
please help me regarding mphinterp function.....
while using,
coordinate=[29970,10080]'
'' electric_field=mphinterp(model,'(es.Ey*es.ny)','coord',coordinate)''
in comsol 5.0 with matlab, i am always encountered with the error message
Error using mphinterp
mphinterp : Java exception occurred:
Exception:
com.comsol.util.exceptions.FlException: Failed to evaluate
expression
(rethrown as com.comsol.util.exceptions.FlException)
(rethrown as com.comsol.util.exceptions.FlException)
Messages:
Failed to evaluate expression
Failed to evaluate expression
Cannot evaluate expression.
Undefined variable.
- Variable: comp1.es.ny
- Geometry: geom1
- Domain: 2
Failed to evaluate expression.
- Expression: real((comp1.es.Ey*comp1.es.ny))
Failed to evaluate expression.
- Expression: real(comp1.es.Ey*comp1.es.ny)
Error in Plea_Linepractice60micW_1micro_final29_2dModel (line
239)
electric_field=mphinterp(model,'(es.Ey*es.ny)','coord',coordinate)
please help me regarding mphinterp function.....
while using,
coordinate=[29970,10080]'
'' electric_field=mphinterp(model,'(es.Ey*es.ny)','coord',coordinate)''
in comsol 5.0 with matlab, i am always encountered with the error message
Error using mphinterp
mphinterp : Java exception occurred:
Exception:
com.comsol.util.exceptions.FlException: Failed to evaluate
expression
(rethrown as com.comsol.util.exceptions.FlException)
(rethrown as com.comsol.util.exceptions.FlException)
Messages:
Failed to evaluate expression
Failed to evaluate expression
Cannot evaluate expression.
Undefined variable.
- Variable: comp1.es.ny
- Geometry: geom1
- Domain: 2
Failed to evaluate expression.
- Expression: real((comp1.es.Ey*comp1.es.ny))
Failed to evaluate expression.
- Expression: real(comp1.es.Ey*comp1.es.ny)
Error in Plea_Linepractice60micW_1micro_final29_2dModel (line
239)
electric_field=mphinterp(model,'(es.Ey*es.ny)','coord',coordinate)
3 Replies Last Post 23 janv. 2017, 08:19 UTC−5