title: How to use MATLAB inside Jupyter?
body: <p>I seem to have installed everything right. I can run disp('statement') in jupyter. The kernel box is showing Matlab. </p>
  
  <p>but still in Jupyter I get</p>
  
  <pre><code>import matlab.engine
  </code></pre>
  
  <p>Error:</p>
  
  <pre><code>The import statement 'import matlab.engine' cannot be found or cannot be imported. Imported names must end with '.*' or be fully qualified.
  </code></pre>
  
  <p>on the MATLAB side, inside my conda environment, I am able to get into a Python 3.6 command line and execute</p>
  
  <pre><code>import matlab.engine
  </code></pre>
  
  <p>That means I got the MATLAB-Python integration working.</p>
  
  <p>I did </p>
  
  <pre><code>python -m matlab_kernel install --user
  </code></pre>
  
  <p>and </p>
  
  <pre><code>jupyter kernelspec list
  </code></pre>
  
  <p>shows</p>
  
  <pre><code>  matlab     /home/me/.local/share/jupyter/kernels/matlab
    python2    /home/me/.local/share/jupyter/kernels/python2
    python3    /home/me/anaconda3/envs/matlab/share/jupyter/kernels/python3
  </code></pre>
  
  <p>with no problem.</p>
  
  <p>What else can I try?</p>