- 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
6 次查看(过去 30 天)
显示 更早的评论
- I have successfully made the Interface to MongoDB
- Now i would like to create Collection from matlab
- To do that i need the matlab command( like Execute SQL statement ) which executes the MongoDB Query
0 个评论
回答(1 个)
Naman Kaushik
2023-7-4
Hi Stalin!
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:
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!