java jar import problem

8 次查看(过去 30 天)
J
J 2014-4-3
I have these lines of code:
javaaddpath('C:\mypath\jhud\Desktop\recon_code\FontBox-0.1.0\lib\FontBox-0.1.0.jar'); javaaddpath('C:\mypath\PDFBox-0.7.3\lib\PDFBox-0.7.3.jar');
pdfdoc = org.pdfbox.pdmodel.PDDocument;
I get the following error: Undefined variable "org" or function "org.pdfbox.pdmodel.PDDocument".
does the "pdfdoc ="etc line of code instantiate an object ? what is trying to do and why isn't it working?

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Call Java from MATLAB 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by