I want to use jdde in MATLAB. I have pretty-tools-JDDE-1.0.2.jar on my computer. Here is my code in MATLAB:
javaaddpath('C:\test\pretty-tools-JDDE-1.0.2.jar');
conversation = com.pretty_tools.dde.client.DDEClientConversation();
I get the error:
Undefined variable "com" or class "com.pretty_tools.dde.client.DDEClientConversation".
However, when I call the javaclasspath function, the jar file is listed under "DYNAMIC JAVA PATH". Why do I get this error? What is the correct way?