Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem importing jar

Status
Not open for further replies.

baschti

Chemical
Nov 25, 2005
1
Hi I am trying to import the i/o lib of CDK (Chemistry Development Kit) to Matlab.

I copied the cdk_io.jar to c:\Program Files\MATLAB704\java\jarext
and added
c:\Program Files\MATLAB704\java\jarext\cdk_io.jar

to classpath.txt.

If I call
>import cdk_io.MDLReader.*
(a class for reading MDL files) I get no error. But if I try to get an according object by calling the constructor

>object = MDLReader(input)

I get ??? Undefined command/function 'MDLReader'.

Has anybody an idea why this happens?

Thanks,

Sebastian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor