Quantcast
Channel: Latest Discussions - COMSOL Forums
Viewing all articles
Browse latest Browse all 428

Error to initialize a physics interface created with Physics Builder in LiveLink for Matlab

$
0
0
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

Viewing all articles
Browse latest Browse all 428

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>