I want to run multiple matlab engines for python at the beginning of my application, because the library I developed embeds many large functions that have to be loaded at the beginning of the app. This is well described in the documentation:
engines = 
# load engines
for i in range(3):
# use one engine
result = engines.MyFunction(arg1,arg2)
I also found in the documentation the possibility to use shared matlab sessions:
engine = matlab.engine.connect_matlab('MATLABEngineName')
What is this?! There is no information about these shared sessions.
Does it allow to simultaneously run multiple functions in the same engine? What about the execution times (for comparable configurations between shared and classic sessions)?