From: Mike Pleasance on 11 Mar 2010 10:21 "Rohit " <rohit(a)cs.unc.edu> wrote in message <hf1vbb$4f8$1(a)fred.mathworks.com>... > I tried loading one of matlab's own dll files this time around but that also failed. > > The following failed > java.lang.System.loadLibrary('jogl'); > but > java.lang.System.load('c:\Program Files\MATLAB\R2008b\bin\win32\jogl.dll'); > worked > > I also tried these by making MATLAB use the latest JVM (1.6.0_17) via setting it through the MATLAB_JAVA environment variable but that did not make any difference. Did you ever get JOGL2 working from within Matlab? I've got the classpath and library paths set up and MATLAB seems to be able to find my classes, but when ever I try to instantiate my class that extents GLCanvas I get an error indicating that there are no GL profiles. The error message is below. Did you run into this problem? ??? Java exception occurred: java.lang.ExceptionInInitializerError at dpf.DpfViewer.<init>(DpfViewer.java:214) Caused by: javax.media.opengl.GLException: No profile available: [GL2, GL2ES2, GL2ES1, GLES2, GLES1, GL2GL3, GL3] at javax.media.opengl.GLProfile.<clinit>(GLProfile.java:750) ... 1 more Thanks! Mike
|
Pages: 1 Prev: compare data from serial Next: fk-filter, velocity filter, frequency-wavenumber filter |