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

java exception error in using postcrossplot code.....

$
0
0
Hi

I am working in windows xp os and with Comsol 3.5a with matlab R2008b

I am exporting model file form comsol to matlab as fem and is saved in fem file in workspace. when iam using postcrossplot in order to save it and use it for meshintegrate code for integration on a particular cross section in a domain.

but when iam using code postcrossplot in matlab command window as follows

pd = postcrossplot(fem,2,[0.015 0 0;0.015 0 0.03;0 0.015 0]','surfdata','T')

extracting temperature data from subdomian in a particular cross section and storing it in pd variable....

it gives error as

??? Error using ==> figure
Error using ==> figure
Java exception occurred:
java.lang.NoClassDefFoundError: javax/media/j3d/BoundingBox

at java.lang.Class.getDeclaredMethods0(Native Method)

at java.lang.Class.privateGetDeclaredMethods(Unknown Source)

at java.lang.Class.privateGetPublicMethods(Unknown Source)

at java.lang.Class.getMethods(Unknown Source)

at com.mathworks.jmi.OpaqueJavaInterface.doesMethodExist(OpaqueJavaInterface.java:407)

Caused by: java.lang.ClassNotFoundException: javax.media.j3d.BoundingBox

at java.net.URLClassLoader$1.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClassInternal(Unknown Source)

... 5 more


Error in ==> gcf at 33
h = figure;

Error in ==> postnewplot>l_newplot at 27
currax = gca;

Error in ==> postnewplot at 15
hAx = l_newplot(vers);

Error in ==> postcrossplot at 368
ax = postnewplot;


I think it is problem with java files and help me regarding this.

thanks for your precious help in advance.

cheers

shanu

Viewing all articles
Browse latest Browse all 26527

Trending Articles