Database Toolbox Interface for MongoDB - standalone

3 Ansichten (letzte 30 Tage)
Wave
Wave am 19 Mai 2020
Bearbeitet: Wave am 19 Mai 2020
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

Akzeptierte Antwort

Wave
Wave am 19 Mai 2020
Bearbeitet: Wave am 19 Mai 2020
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

Weitere Antworten (0)

Kategorien

Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange

Produkte


Version

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by