CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   COMSOL (https://www.cfd-online.com/Forums/comsol/)
-   -   problem in accessing postcrossplot in comsol multiphysics (https://www.cfd-online.com/Forums/comsol/74054-problem-accessing-postcrossplot-comsol-multiphysics.html)

shanu March 23, 2010 12:03

problem in accessing postcrossplot in comsol multiphysics
 
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.doesMethodEx ist(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.

any help regarding this would really appreciated,

thanks for your precious help in advance.

cheers

shanu


All times are GMT -4. The time now is 17:15.