How can I solve this error called "Java exception occurred"?

Hello,
I received this error-message while trying to run a script on a cluster:
Error using batch (line 185) Java exception occurred: java.lang.IllegalArgumentException: Negative time
at java.io.File.setLastModified(Unknown Source)
at org.apache.commons.io.FileUtils.doCopyDirectory(FileUtils.java:1435)
at org.apache.commons.io.FileUtils.doCopyDirectory(FileUtils.java:1426)
at org.apache.commons.io.FileUtils.doCopyDirectory(FileUtils.java:1426)
at org.apache.commons.io.FileUtils.copyDirectory(FileUtils.java:1389)
at org.apache.commons.io.FileUtils.copyDirectory(FileUtils.java:1261)
at org.apache.commons.io.FileUtils.copyDirectory(FileUtils.java:1230)
Can anybody help me with this? Batch.m is an official script from the Mathworks Company, so its function should be clear.
Thank you in advance :)

1 件のコメント

Jan
Jan 2017 年 2 月 22 日
Although Batch.m might be an official file from TMW, it can be impeded by user defined function, if they are stored in folders on top of Matlab's PATH.

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeCall Java from MATLAB についてさらに検索

質問済み:

2017 年 2 月 22 日

コメント済み:

Jan
2017 年 2 月 22 日

Community Treasure Hunt

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

Start Hunting!

Translated by