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 to initialize a physics interface created with Physics Builder in LiveLink for Matlab
Posted Dec 16, 2012, 8:35 a.m. EST Interfacing, Simulation Apps, Modeling Tools & Definitions, Parameters, Variables, & Functions Version 5.0, Version 5.1 5 Replies
Please login with a confirmed email address before reporting spam
Hi all,
I am trying to compile with LiveLink for Matlab (Matlab version MATLAB_R2012a) a Comsol model (Comsol version COMSOL 4.3.0.151) that uses a physics interface which I created with the Physics Builder.
I have already exported the physics interface as a plugin and included it into the COMSOL installation. It works in Comsol. The problem is when I try to compile the *.m-file in Matlab. Errors are as follows:
Error using com.comsol.model.impl.PhysicsListImpl/create
Java exception occurred:
Exception:
com.comsol.util.exceptions.FlException: Unknown physics interface
(rethrown as com.comsol.util.exceptions.FatalReInitializeException)
Messages:
Failed to initialize physics interface
Unknown physics interface
- Physics interface: PhysicsInterfaceName
Stack trace:
at com.comsol.model.internal.physics.impl.PhysicsImpl.a(Unknown Source)
at com.comsol.model.internal.physics.impl.PhysicsImpl.initialize(Unknown Source)
at com.comsol.model.internal.impl.PhysicsListImpl.a(Unknown Source)
at com.comsol.model.internal.impl.PhysicsListImpl.a(Unknown Source)
at com.comsol.model.internal.impl.PhysicsListImpl$d.a(Unknown Source)
at com.comsol.model.internal.impl.PhysicsListImpl$d.execute(Unknown Source)
at com.comsol.model.clientserver.ClientManagerImpl$d.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: Exception:
com.comsol.util.exceptions.FlException: Unknown physics interface
Messages:
Unknown physics interface
- Physics interface: PhysicsInterfaceName
at com.comsol.model.applapi.ApplModeCreatorManager.getApplID(Unknown Source)
at com.comsol.model.applapi.ApplModeCreatorManager.create(Unknown Source)
... 12 more
Error in test_43 (line 20)
model.physics.create('TagName', 'PhysicsInterfaceName', 'GeometryName');
Does anyone have a similar problem?
Thank's in advance,
Savitri
I am trying to compile with LiveLink for Matlab (Matlab version MATLAB_R2012a) a Comsol model (Comsol version COMSOL 4.3.0.151) that uses a physics interface which I created with the Physics Builder.
I have already exported the physics interface as a plugin and included it into the COMSOL installation. It works in Comsol. The problem is when I try to compile the *.m-file in Matlab. Errors are as follows:
Error using com.comsol.model.impl.PhysicsListImpl/create
Java exception occurred:
Exception:
com.comsol.util.exceptions.FlException: Unknown physics interface
(rethrown as com.comsol.util.exceptions.FatalReInitializeException)
Messages:
Failed to initialize physics interface
Unknown physics interface
- Physics interface: PhysicsInterfaceName
Stack trace:
at com.comsol.model.internal.physics.impl.PhysicsImpl.a(Unknown Source)
at com.comsol.model.internal.physics.impl.PhysicsImpl.initialize(Unknown Source)
at com.comsol.model.internal.impl.PhysicsListImpl.a(Unknown Source)
at com.comsol.model.internal.impl.PhysicsListImpl.a(Unknown Source)
at com.comsol.model.internal.impl.PhysicsListImpl$d.a(Unknown Source)
at com.comsol.model.internal.impl.PhysicsListImpl$d.execute(Unknown Source)
at com.comsol.model.clientserver.ClientManagerImpl$d.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: Exception:
com.comsol.util.exceptions.FlException: Unknown physics interface
Messages:
Unknown physics interface
- Physics interface: PhysicsInterfaceName
at com.comsol.model.applapi.ApplModeCreatorManager.getApplID(Unknown Source)
at com.comsol.model.applapi.ApplModeCreatorManager.create(Unknown Source)
... 12 more
Error in test_43 (line 20)
model.physics.create('TagName', 'PhysicsInterfaceName', 'GeometryName');
Does anyone have a similar problem?
Thank's in advance,
Savitri
5 Replies Last Post Nov 6, 2015, 2:57 p.m. EST