Database Toolbox Interface for MongoDB - standalone

조회 수: 6 (최근 30일)
Wave
Wave 2020년 5월 19일
편집: Wave 2020년 5월 19일
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에서 Manage Products에 대해 자세히 알아보기

제품


릴리스

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by