title: Starting Matlab engine in anaconda virtual environment returns 'Segmentation fault (core dumped)'
body: <p>I've installed the official MATLAB Engine by following the instructions from the answer to <a href="https://stackoverflow.com/questions/39689320/anaconda-install-matlab-engine-on-linux">Anaconda install Matlab Engine on Linux</a> to an Anaconda virtual environment running Python3.5. I can now import <code>matlab</code> and <code>matlab.engine</code> without receiving errors. However, when I try:
  <code>matlab.engine.start_matlab()</code>, I get 'Segmentation fault (core dumped)'</p>
  
  <p>I've tried setting LD_LIBRARY_PATH from within the conda environment (in case that is even relevant): <code>export LD_LIBRARY_PATH=/System/Library/Frameworks/Python.framework/Versions/Current/lib:$LD_LIBRARY_PATH</code>, but to no avail. The path doesn't exist either as far as I'm aware, so I've also tried  <code>export DYLD_LIBRARY_PATH=path_to_anaconda3/envs/myEnv/lib:$LD_LIBRARY_PATH</code>  </p>
  
  <p>So how can I start the matlab engine/call Matlab scripts from Python from within a Anaconda virtual environment?</p>
  
  <p>I'm on Ubuntu, by the way</p>