- You can utilize the "mongoc" function of MATLAB which uses a C++ interface for the connection.
- The second way is connecting it using pymongo library of python. You can write your mongoDB commands as python functions, place them in the same folder as the MATLAB file and call these functions using "py.<modulename>.<functionname>".
how to excecute MongoDB query from matlab
2 ビュー (過去 30 日間)
回答 (1 件)
Naman Kaushik 2023 年 7 月 4 日
I understand that you wish to connect your MATLAB application to MongoDB. There are actually two ways that you can use.
For more information about the "mongoc" function, you can refer the following link:
To learn about how to execute python functions from MATLAB: