Matlab and grashopper interoperability

Hello everyone,

I am currently struggling to retrieve the results from a Matlab script into GH. This needs to be automated since I aim to perform an optimization process.
Any ideas or suggestions?

Thanks for your help
Sebastian