【发布时间】:2012-01-06 22:46:38
【问题描述】:
这是matlab代码:
javaclasspath(pwd); % set java path to current working directory
% call the java function
Result = googleTrend.TrendDataExtractor.ExtractData(Email, Password, word, from, till, scale, handlerHttps, handlerHttp);
它在 windows 中运行良好,但在 mac 中却出现以下错误:
Undefined variable "googleTrend" or class "googleTrend.TrendDataExtractor.ExtractData"
我认为 javaclasspath(pwd) 工作不正确。
注意:pwd 返回当前工作目录
【问题讨论】:
-
googleTrend 是当前路径的子目录吗?还是 googleTrend 在 Jar 文件中?
-
要添加到 Memming 的评论中,我们需要查看相关 *.jar 和 *.class 文件的位置和内容(或部分)。
标签: java matlab osx-snow-leopard pwd