From: Sara on
I tried to use java-connector to connect to mysql in linux environment but after saving 50 records and sometimes alittle more matlab returns me error that cannot load the java connector driver however I close the connection for each insertion and again open it for new insertion ,
most of the time the error message is like this :
One or more output arguments not assigned during
call to "getValidConnection".

Error in ==> database.database at 140
connection.Handle =
getValidConnection(conn,connectionVector);

Error in ==> database1 at 23
dbConn = database(dbName, user , password,
jdbcDriver, jdbcString);

this is a general error that I get and I couldn't find any solution and it is two days that I'm working on that
I used different java connectors such as mysql.com connector, sun, openjd but nothing was changed. I even changed the logintime but again nothing was changed.
I used the code like the following link
http://www.etf-central.com/using-matlab%2526%2523039%3Bs-database-toolbox-mysql-connector/j-214
of course I even give it the explicit path for jar file such as /usr/.../
but nothing was changed.
any guide would be helpful
From: Oleg Komarov on
Sara <sara_ir110(a)yahoo.com> wrote in message <386965626.13305.1277669942466.JavaMail.root(a)gallium.mathforum.org>...
> I tried to use java-connector to connect to mysql in linux environment but after saving 50 records and sometimes alittle more matlab returns me error that cannot load the java connector driver however I close the connection for each insertion and again open it for new insertion ,
> most of the time the error message is like this :
> One or more output arguments not assigned during
> call to "getValidConnection".
>
> Error in ==> database.database at 140
> connection.Handle =
> getValidConnection(conn,connectionVector);
>
> Error in ==> database1 at 23
> dbConn = database(dbName, user , password,
> jdbcDriver, jdbcString);
>
> this is a general error that I get and I couldn't find any solution and it is two days that I'm working on that
> I used different java connectors such as mysql.com connector, sun, openjd but nothing was changed. I even changed the logintime but again nothing was changed.
> I used the code like the following link
> http://www.etf-central.com/using-matlab%2526%2523039%3Bs-database-toolbox-mysql-connector/j-214
> of course I even give it the explicit path for jar file such as /usr/.../
> but nothing was changed.
> any guide would be helpful

Add the WHOLE path of the .jar driver manually into "matlabroot\toolbox\classpath.txt"
Check with "javaclasspath" (cmd pane) if the driver has been added correctly.

Oleg
From: sara on
Hello,
Thank you for your response. but I use matlab in Linux environment and there is no such file in a path you mentioned. there is toolbox directory but not that file in that directory. so I cannot change anything
and the result of your command

>> javaclasspath

STATIC JAVA PATH

/home/rafiee/Installed/matlab/java/patch
/home/rafiee/Installed/matlab/java/jar/util.jar
/home/rafiee/Installed/matlab/java/jar/widgets.jar
/home/rafiee/Installed/matlab/java/jar/activation.jar
/home/rafiee/Installed/matlab/java/jar/activationclient.jar
/home/rafiee/Installed/matlab/java/jar/agent.jar
/home/rafiee/Installed/matlab/java/jar/bde.jar
/home/rafiee/Installed/matlab/java/jar/beans.jar
/home/rafiee/Installed/matlab/java/jar/common.jar
/home/rafiee/Installed/matlab/java/jar/download.jar
/home/rafiee/Installed/matlab/java/jar/fatalexit.jar
/home/rafiee/Installed/matlab/java/jar/hg.jar
/home/rafiee/Installed/matlab/java/jar/ice.jar
/home/rafiee/Installed/matlab/java/jar/ide.jar
/home/rafiee/Installed/matlab/java/jar/installer.jar
/home/rafiee/Installed/matlab/java/jar/instutil.jar
/home/rafiee/Installed/matlab/java/jar/instwiz.jar
/home/rafiee/Installed/matlab/java/jar/jmi.jar
/home/rafiee/Installed/matlab/java/jar/matlab.jar
/home/rafiee/Installed/matlab/java/jar/mde.jar
/home/rafiee/Installed/matlab/java/jar/mlservices.jar
/home/rafiee/Installed/matlab/java/jar/mlwebservices.jar
/home/rafiee/Installed/matlab/java/jar/mlwidgets.jar
/home/rafiee/Installed/matlab/java/jar/mwswing.jar
/home/rafiee/Installed/matlab/java/jar/mwt.jar
/home/rafiee/Installed/matlab/java/jar/net.jar
/home/rafiee/Installed/matlab/java/jar/org/netbeans.jar
/home/rafiee/Installed/matlab/java/jar/org/openide.jar
/home/rafiee/Installed/matlab/java/jar/page.jar
/home/rafiee/Installed/matlab/java/jar/physmod/powersys/drives.jar
/home/rafiee/Installed/matlab/java/jar/physmod/simscape/editor.jar
/home/rafiee/Installed/matlab/java/jar/physmod/simscape/preferences.jar
/home/rafiee/Installed/matlab/java/jar/product.jar
/home/rafiee/Installed/matlab/java/jar/services.jar
/home/rafiee/Installed/matlab/java/jar/test/jmi.jar
/home/rafiee/Installed/matlab/java/jar/test/mde/arrayeditor.jar
/home/rafiee/Installed/matlab/java/jar/test/mde/cmdhist.jar
/home/rafiee/Installed/matlab/java/jar/test/mde/cmdwin.jar
/home/rafiee/Installed/matlab/java/jar/test/mde/cutcopypaste.jar
/home/rafiee/Installed/matlab/java/jar/test/mde/desktop.jar
/home/rafiee/Installed/matlab/java/jar/test/mde/editor.jar
/home/rafiee/Installed/matlab/java/jar/test/mde/filebrowser.jar
/home/rafiee/Installed/matlab/java/jar/test/mde/finddialog.jar
/home/rafiee/Installed/matlab/java/jar/test/mde/findfiles.jar
/home/rafiee/Installed/matlab/java/jar/test/mde/functionbrowser.jar
/home/rafiee/Installed/matlab/java/jar/test/mde/functionhints.jar
/home/rafiee/Installed/matlab/java/jar/test/mde/helpbrowser.jar
/home/rafiee/Installed/matlab/java/jar/test/mde/importwizard.jar
/home/rafiee/Installed/matlab/java/jar/test/mde/inspector.jar
/home/rafiee/Installed/matlab/java/jar/test/mde/mldesktop.jar
/home/rafiee/Installed/matlab/java/jar/test/mde/pathbrowser.jar
/home/rafiee/Installed/matlab/java/jar/test/mde/profiler.jar
/home/rafiee/Installed/matlab/java/jar/test/mde/startbutton.jar
/home/rafiee/Installed/matlab/java/jar/test/mde/util.jar
/home/rafiee/Installed/matlab/java/jar/test/mde/webbrowser.jar
/home/rafiee/Installed/matlab/java/jar/test/mde/workspace.jar
/home/rafiee/Installed/matlab/java/jar/test/mlwidgets.jar
/home/rafiee/Installed/matlab/java/jar/test/mwswing.jar
/home/rafiee/Installed/matlab/java/jar/test/mwt.jar
/home/rafiee/Installed/matlab/java/jar/test/page/export.jar
/home/rafiee/Installed/matlab/java/jar/test/page/uitools.jar
/home/rafiee/Installed/matlab/java/jar/test/qejmi.jar
/home/rafiee/Installed/matlab/java/jar/test/qetools/tools.jar
/home/rafiee/Installed/matlab/java/jar/test/startup.jar
/home/rafiee/Installed/matlab/java/jar/test/toolbox/bioinfo.jar
/home/rafiee/Installed/matlab/java/jar/test/toolbox/compiler.jar
/home/rafiee/Installed/matlab/java/jar/test/toolbox/control.jar
/home/rafiee/Installed/matlab/java/jar/test/toolbox/distcomp.jar
/home/rafiee/Installed/matlab/java/jar/test/toolbox/instrument.jar
/home/rafiee/Installed/matlab/java/jar/test/toolbox/matlab/audiovideo.jar
/home/rafiee/Installed/matlab/java/jar/test/toolbox/mbc.jar
/home/rafiee/Installed/matlab/java/jar/test/toolbox/rptgenxmlcomp.jar
/home/rafiee/Installed/matlab/java/jar/test/toolbox/sysbio.jar
/home/rafiee/Installed/matlab/java/jar/test/toolbox/systemtest.jar
/home/rafiee/Installed/matlab/java/jar/test/toolbox/testmeas.jar
/home/rafiee/Installed/matlab/java/jar/test/toolbox/testtools/matlab/mwjavaguitest.jar
/home/rafiee/Installed/matlab/java/jar/test/tools.jar
/home/rafiee/Installed/matlab/java/jar/test/utils.jar
/home/rafiee/Installed/matlab/java/jar/test/webintegration/fileexchange.jar
/home/rafiee/Installed/matlab/java/jar/timer.jar
/home/rafiee/Installed/matlab/java/jar/toolbox/bioinfo.jar
/home/rafiee/Installed/matlab/java/jar/toolbox/comm.jar
/home/rafiee/Installed/matlab/java/jar/toolbox/compiler.jar
/home/rafiee/Installed/matlab/java/jar/toolbox/control.jar
/home/rafiee/Installed/matlab/java/jar/toolbox/curvefit.jar
/home/rafiee/Installed/matlab/java/jar/toolbox/daq.jar
/home/rafiee/Installed/matlab/java/jar/toolbox/dastudio.jar
/home/rafiee/Installed/matlab/java/jar/toolbox/database.jar
/home/rafiee/Installed/matlab/java/jar/toolbox/datafeed.jar
/home/rafiee/Installed/matlab/java/jar/toolbox/distcomp.jar
/home/rafiee/Installed/matlab/java/jar/toolbox/ecoder.jar
/home/rafiee/Installed/matlab/java/jar/toolbox/eml.jar
/home/rafiee/Installed/matlab/java/jar/toolbox/fixedpoint.jar
/home/rafiee/Installed/matlab/java/jar/toolbox/geoweb.jar
/home/rafiee/Installed/matlab/java/jar/toolbox/ident.jar
/home/rafiee/Installed/matlab/java/jar/toolbox/images.jar
/home/rafiee/Installed/matlab/java/jar/toolbox/imaq.jar
/home/rafiee/Installed/matlab/java/jar/toolbox/instrument.jar
/home/rafiee/Installed/matlab/java/jar/toolbox/matlab/audiovideo.jar
/home/rafiee/Installed/matlab/java/jar/toolbox/matlab/guide.jar
/home/rafiee/Installed/matlab/java/jar/toolbox/mbc.jar
/home/rafiee/Installed/matlab/java/jar/toolbox/mdldisc.jar
/home/rafiee/Installed/matlab/java/jar/toolbox/mpc.jar
/home/rafiee/Installed/matlab/java/jar/toolbox/nnet.jar
/home/rafiee/Installed/matlab/java/jar/toolbox/opc.jar
/home/rafiee/Installed/matlab/java/jar/toolbox/optim.jar
/home/rafiee/Installed/matlab/java/jar/toolbox/rptgen.jar
/home/rafiee/Installed/matlab/java/jar/toolbox/rptgencore.jar
/home/rafiee/Installed/matlab/java/jar/toolbox/rptgenxmlcomp.jar
/home/rafiee/Installed/matlab/java/jar/toolbox/rtw.jar
/home/rafiee/Installed/matlab/java/jar/toolbox/shared/controllib.jar
/home/rafiee/Installed/matlab/java/jar/toolbox/simbio.jar
/home/rafiee/Installed/matlab/java/jar/toolbox/simulink.jar
/home/rafiee/Installed/matlab/java/jar/toolbox/sl3d.jar
/home/rafiee/Installed/matlab/java/jar/toolbox/slcontrol.jar
/home/rafiee/Installed/matlab/java/jar/toolbox/slestim.jar
/home/rafiee/Installed/matlab/java/jar/toolbox/sloptim.jar
/home/rafiee/Installed/matlab/java/jar/toolbox/stateflow.jar
/home/rafiee/Installed/matlab/java/jar/toolbox/stats.jar
/home/rafiee/Installed/matlab/java/jar/toolbox/sysbio_exp.jar
/home/rafiee/Installed/matlab/java/jar/toolbox/systemtest.jar
/home/rafiee/Installed/matlab/java/jar/toolbox/testmeas.jar
/home/rafiee/Installed/matlab/java/jar/toolbox/timeseries.jar
/home/rafiee/Installed/matlab/java/jar/toolbox/vipblks.jar
/home/rafiee/Installed/matlab/java/jar/vrd.jar
/home/rafiee/Installed/matlab/java/jar/webintegration.jar
/home/rafiee/Installed/matlab/java/jar/xml.jar
/home/rafiee/Installed/matlab/java/jarext/dcxjp.zip
/home/rafiee/Installed/matlab/java/jarext/mwjava2specific.jar
/home/rafiee/Installed/matlab/java/jarext/RXTXcomm.jar
/home/rafiee/Installed/matlab/java/jarext/abbot.jar
/home/rafiee/Installed/matlab/java/jarext/access-bridge.jar
/home/rafiee/Installed/matlab/java/jarext/AnimatedTransitions.jar
/home/rafiee/Installed/matlab/java/jarext/ant.jar
/home/rafiee/Installed/matlab/java/jarext/avalon.jar
/home/rafiee/Installed/matlab/java/jarext/axis2/activation.jar
/home/rafiee/Installed/matlab/java/jarext/axis2/axiom-api.jar
/home/rafiee/Installed/matlab/java/jarext/axis2/axiom-impl.jar
/home/rafiee/Installed/matlab/java/jarext/axis2/axis2-adb.jar
/home/rafiee/Installed/matlab/java/jarext/axis2/axis2-kernel.jar
/home/rafiee/Installed/matlab/java/jarext/axis2/backport-util-concurrent.jar
/home/rafiee/Installed/matlab/java/jarext/axis2/commons-codec.jar
/home/rafiee/Installed/matlab/java/jarext/axis2/commons-httpclient.jar
/home/rafiee/Installed/matlab/java/jarext/axis2/geronimo-stax-api.jar
/home/rafiee/Installed/matlab/java/jarext/axis2/mail.jar
/home/rafiee/Installed/matlab/java/jarext/axis2/neethi.jar
/home/rafiee/Installed/matlab/java/jarext/axis2/wsdl4j.jar
/home/rafiee/Installed/matlab/java/jarext/axis2/wstx-asl.jar
/home/rafiee/Installed/matlab/java/jarext/axis2/xml-apis.jar
/home/rafiee/Installed/matlab/java/jarext/axis2/XmlSchema.jar
/home/rafiee/Installed/matlab/java/jarext/batik-svggen.jar
/home/rafiee/Installed/matlab/java/jarext/batik.jar
/home/rafiee/Installed/matlab/java/jarext/commons-cli.jar
/home/rafiee/Installed/matlab/java/jarext/commons-collections.jar
/home/rafiee/Installed/matlab/java/jarext/commons-el.jar
/home/rafiee/Installed/matlab/java/jarext/commons-io.jar
/home/rafiee/Installed/matlab/java/jarext/commons-lang.jar
/home/rafiee/Installed/matlab/java/jarext/commons-logging.jar
/home/rafiee/Installed/matlab/java/jarext/commons-math.jar
/home/rafiee/Installed/matlab/java/jarext/commons-net.jar
/home/rafiee/Installed/matlab/java/jarext/costello.jar
/home/rafiee/Installed/matlab/java/jarext/distcomp/h2.jar
/home/rafiee/Installed/matlab/java/jarext/distcomp/jini2/lib/browser-dl.jar
/home/rafiee/Installed/matlab/java/jarext/distcomp/jini2/lib/browser.jar
/home/rafiee/Installed/matlab/java/jarext/distcomp/jini2/lib/destroy.jar
/home/rafiee/Installed/matlab/java/jarext/distcomp/jini2/lib/fiddler-dl.jar
/home/rafiee/Installed/matlab/java/jarext/distcomp/jini2/lib/fiddler.jar
/home/rafiee/Installed/matlab/java/jarext/distcomp/jini2/lib/group-dl.jar
/home/rafiee/Installed/matlab/java/jarext/distcomp/jini2/lib/group.jar
/home/rafiee/Installed/matlab/java/jarext/distcomp/jini2/lib/jini-core.jar
/home/rafiee/Installed/matlab/java/jarext/distcomp/jini2/lib/jini-ext.jar
/home/rafiee/Installed/matlab/java/jarext/distcomp/jini2/lib/jsk-platform.jar
/home/rafiee/Installed/matlab/java/jarext/distcomp/jini2/lib/jsk-policy.jar
/home/rafiee/Installed/matlab/java/jarext/distcomp/jini2/lib/jsk-resources.jar
/home/rafiee/Installed/matlab/java/jarext/distcomp/jini2/lib/mahalo-dl.jar
/home/rafiee/Installed/matlab/java/jarext/distcomp/jini2/lib/mahalo.jar
/home/rafiee/Installed/matlab/java/jarext/distcomp/jini2/lib/norm-dl.jar
/home/rafiee/Installed/matlab/java/jarext/distcomp/jini2/lib/norm.jar
/home/rafiee/Installed/matlab/java/jarext/distcomp/jini2/lib/phoenix-dl.jar
/home/rafiee/Installed/matlab/java/jarext/distcomp/jini2/lib/phoenix-group.jar
/home/rafiee/Installed/matlab/java/jarext/distcomp/jini2/lib/phoenix-init.jar
/home/rafiee/Installed/matlab/java/jarext/distcomp/jini2/lib/phoenix.jar
/home/rafiee/Installed/matlab/java/jarext/distcomp/jini2/lib/reggie-dl.jar
/home/rafiee/Installed/matlab/java/jarext/distcomp/jini2/lib/reggie.jar
/home/rafiee/Installed/matlab/java/jarext/distcomp/jini2/lib/sdm-dl.jar
/home/rafiee/Installed/matlab/java/jarext/distcomp/jini2/lib/sharedvm.jar
/home/rafiee/Installed/matlab/java/jarext/distcomp/jini2/lib/start.jar
/home/rafiee/Installed/matlab/java/jarext/distcomp/jini2/lib/sun-util.jar
/home/rafiee/Installed/matlab/java/jarext/dtdparser121.jar
/home/rafiee/Installed/matlab/java/jarext/felix.jar
/home/rafiee/Installed/matlab/java/jarext/fop.jar
/home/rafiee/Installed/matlab/java/jarext/foxtrot.jar
/home/rafiee/Installed/matlab/java/jarext/freehep-export.jar
/home/rafiee/Installed/matlab/java/jarext/freehep-graphics2d.jar
/home/rafiee/Installed/matlab/java/jarext/freehep-graphicsio-emf.jar
/home/rafiee/Installed/matlab/java/jarext/freehep-graphicsio-pdf.jar
/home/rafiee/Installed/matlab/java/jarext/freehep-graphicsio-ps.jar
/home/rafiee/Installed/matlab/java/jarext/freehep-graphicsio-svg.jar
/home/rafiee/Installed/matlab/java/jarext/freehep-graphicsio-swf.jar
/home/rafiee/Installed/matlab/java/jarext/freehep-graphicsio.jar
/home/rafiee/Installed/matlab/java/jarext/freehep-io.jar
/home/rafiee/Installed/matlab/java/jarext/freehep-swing.jar
/home/rafiee/Installed/matlab/java/jarext/freehep-util.jar
/home/rafiee/Installed/matlab/java/jarext/freehep-xml.jar
/home/rafiee/Installed/matlab/java/jarext/geotools/geoapi-nogenerics.jar
/home/rafiee/Installed/matlab/java/jarext/geotools/gt2-api.jar
/home/rafiee/Installed/matlab/java/jarext/geotools/gt2-coverage.jar
/home/rafiee/Installed/matlab/java/jarext/geotools/gt2-main.jar
/home/rafiee/Installed/matlab/java/jarext/geotools/gt2-referencing.jar
/home/rafiee/Installed/matlab/java/jarext/geotools/gt2-referencing3D.jar
/home/rafiee/Installed/matlab/java/jarext/geotools/gt2-wms.jar
/home/rafiee/Installed/matlab/java/jarext/geotools/jts.jar
/home/rafiee/Installed/matlab/java/jarext/glazedlists_java15.jar
/home/rafiee/Installed/matlab/java/jarext/gnu-regexp.jar
/home/rafiee/Installed/matlab/java/jarext/ice/ib6core.jar
/home/rafiee/Installed/matlab/java/jarext/ice/ib6extra.jar
/home/rafiee/Installed/matlab/java/jarext/ice/ib6http.jar
/home/rafiee/Installed/matlab/java/jarext/ice/ib6https.jar
/home/rafiee/Installed/matlab/java/jarext/ice/ib6js.jar
/home/rafiee/Installed/matlab/java/jarext/ice/ib6swing.jar
/home/rafiee/Installed/matlab/java/jarext/ice/ib6util.jar
/home/rafiee/Installed/matlab/java/jarext/ice/ib6xalan.jar
/home/rafiee/Installed/matlab/java/jarext/ice/icessl.jar
/home/rafiee/Installed/matlab/java/jarext/j2ee/jsp-api.jar
/home/rafiee/Installed/matlab/java/jarext/j2ee/servlet-api.jar
/home/rafiee/Installed/matlab/java/jarext/jaccess-1_4.jar
/home/rafiee/Installed/matlab/java/jarext/jakarta-oro-2.0.8.jar
/home/rafiee/Installed/matlab/java/jarext/jakarta-regexp-1.2.jar
/home/rafiee/Installed/matlab/java/jarext/jdom.jar
/home/rafiee/Installed/matlab/java/jarext/jemmy.jar
/home/rafiee/Installed/matlab/java/jarext/jetty/core.jar
/home/rafiee/Installed/matlab/java/jarext/jetty/jetty-naming.jar
/home/rafiee/Installed/matlab/java/jarext/jetty/jetty-plus.jar
/home/rafiee/Installed/matlab/java/jarext/jetty/jetty-util.jar
/home/rafiee/Installed/matlab/java/jarext/jetty/jetty.jar
/home/rafiee/Installed/matlab/java/jarext/jetty/jsp-2.1.jar
/home/rafiee/Installed/matlab/java/jarext/jetty/jsp-api-2.1.jar
/home/rafiee/Installed/matlab/java/jarext/jetty/start.jar
/home/rafiee/Installed/matlab/java/jarext/jfcunit.jar
/home/rafiee/Installed/matlab/java/jarext/jgoodies-forms.jar
/home/rafiee/Installed/matlab/java/jarext/jgoodies-looks.jar
/home/rafiee/Installed/matlab/java/jarext/jide/jide-action.jar
/home/rafiee/Installed/matlab/java/jarext/jide/jide-common.jar
/home/rafiee/Installed/matlab/java/jarext/jide/jide-components.jar
/home/rafiee/Installed/matlab/java/jarext/jide/jide-dialogs.jar
/home/rafiee/Installed/matlab/java/jarext/jide/jide-dock.jar
/home/rafiee/Installed/matlab/java/jarext/jide/jide-grids.jar
/home/rafiee/Installed/matlab/java/jarext/Jmol.jar
/home/rafiee/Installed/matlab/java/jarext/jox116.jar
/home/rafiee/Installed/matlab/java/jarext/jsr173_1.0_api.jar
/home/rafiee/Installed/matlab/java/jarext/junit.jar
/home/rafiee/Installed/matlab/java/jarext/lucene-analyzers-2.0.0.jar
/home/rafiee/Installed/matlab/java/jarext/lucene-core-2.0.0.jar
/home/rafiee/Installed/matlab/java/jarext/nekohtml.jar
/home/rafiee/Installed/matlab/java/jarext/RDTHApi.jar
/home/rafiee/Installed/matlab/java/jarext/rfa.jar
/home/rafiee/Installed/matlab/java/jarext/rt.jar
/home/rafiee/Installed/matlab/java/jarext/saxon.jar
/home/rafiee/Installed/matlab/java/jarext/saxon9-ant.jar
/home/rafiee/Installed/matlab/java/jarext/saxon9-dom.jar
/home/rafiee/Installed/matlab/java/jarext/saxon9-dom4j.jar
/home/rafiee/Installed/matlab/java/jarext/saxon9-jdom.jar
/home/rafiee/Installed/matlab/java/jarext/saxon9-s9api.jar
/home/rafiee/Installed/matlab/java/jarext/saxon9-sql.jar
/home/rafiee/Installed/matlab/java/jarext/saxon9-xom.jar
/home/rafiee/Installed/matlab/java/jarext/saxon9-xpath.jar
/home/rafiee/Installed/matlab/java/jarext/saxon9-xqj.jar
/home/rafiee/Installed/matlab/java/jarext/saxon9.jar
/home/rafiee/Installed/matlab/java/jarext/scr.jar
/home/rafiee/Installed/matlab/java/jarext/sjsxp.jar
/home/rafiee/Installed/matlab/java/jarext/spring-beans.jar
/home/rafiee/Installed/matlab/java/jarext/spring-core.jar
/home/rafiee/Installed/matlab/java/jarext/TimingFramework.jar
/home/rafiee/Installed/matlab/java/jarext/tomcat5/jasper/jasper-compiler.jar
/home/rafiee/Installed/matlab/java/jarext/tomcat5/jasper/jasper-runtime.jar
/home/rafiee/Installed/matlab/java/jarext/webrenderer.jar
/home/rafiee/Installed/matlab/java/jarext/xercesImpl.jar
/home/rafiee/Installed/matlab/java/jarext/xstream.jar
/home/rafiee/Installed/matlab/java/jarext/jogl.a64.jar
/home/rafiee/Installed/matlab/java/jarext/jogl.jar
/home/rafiee/Installed/matlab/toolbox/javabuilder/jar/javabuilder.jar
From: Oleg Komarov on
sara <sara_ir110(a)yahoo.com> wrote in message <302062177.18790.1277753066867.JavaMail.root(a)gallium.mathforum.org>...
> Hello,
> Thank you for your response. but I use matlab in Linux environment and there is no such file in a path you mentioned. there is toolbox directory but not that file in that directory. so I cannot change anything
> and the result of your command

As you can see the mySQL connector wasn't added.
BTW, did you look into the matlabroot and then inside the toolbox subdirectory etc.. etc..?
You have to find the classpath.txt file and add manually the directory as I did:
C:\Users\public\Desktop\mysql-connector-java-5.1.9\mysql-connector-java-5.1.9-bin.jar

You can use the rdir submission (search on FEX) and look for:
rdir([matlabroot '\**\classpath.txt'])

Oleg