Database Toolbox Interface for MongoDB - standalone

3 次查看(过去 30 天)
Heyhey,
I'm using this part of Matlab
In Matlab is everything ok, but if I deploy the program
deploytool -package 'XXX.prj'
and try to get it running on another PC, I will get the error
mir_illegal_import_argument
I think it's close to this problem:
But I don't know, which java files I should include. Does anybody have an idea?
The error looks like this:
Error using mongo
Error: File: C:\Users\XXX\AppData\Local\Temp\XXX\mcrCache9.3\XXX\toolbox\database\database\supportpackages\mongodb\mongo.m Line: 1434 Column: 16
Arguments to IMPORT must either end with ".*" or else specify a fully qualified class name: "database.internal.utilities.charArrayDisp" fails this test.
MATLAB:mir_illegal_import_argument

采纳的回答

Wave
Wave 2020-5-19
编辑:Wave 2020-5-19
Problem solved:
The file(s) of the text file:
C:\Users\XXX\AppData\Roaming\MathWorks\MATLAB\R2017b\javaclasspath.txt
Which is in my case:
C:\ProgramData\MATLAB\SupportPackages\R2017b\3P.instrset\mongodb.instrset\MongoDriver\mongo-java-driver-3.4.1.jar
Has / have to be added before compiling to the XXX.prj
AND for the special error above. The file:
C:\Program Files\MATLAB\R2017b\toolbox\database\database\+database\+internal\+utilities\charArrayDisp.m
has to be added as well to the XXX.prj

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

产品


版本

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by