Passing strings from Matlab to Julia and back using Sockets

Thank you for the link! In my case I needed to call Julia from Matlab. Since I mostly needed to pass strings, the socket approach was straightforward and an opportunity for me to learn something new. Writing to files is indeed a viable solution since I don’t care that much about latency.

I found https://github.com/juliamatlab/julia-matlab-shuttle which looks interesting but it’s not maintained. I might try to revive it. Not sure how it works though…