Figured out how to connect matlab with mongoDB