title: fatal error C1083 : Cannot open include file: 'mexutils.h': No such file or directory
body: <p>I would like to compile a c++ file as a mex file in MATLAB namely: "mexLasso.cpp". </p>
  
  <p>These are the steps I take and I get the following error. What is the problem?</p>
  
  <p><strong>1. Put the files "mexLasso.cpp" and "mexutils.h" in a folder.</strong></p>
  
  <p><strong>2. Set the compiler:</strong> </p>
  
  <pre><code> mex -setup C++ 
  </code></pre>
  
  <p>I recieve: </p>
  
  <pre><code>MEX configured to use 'Microsoft Visual C++ 2013 Professional' for C++ language compilation.
  </code></pre>
  
  <p><strong>3. Run the command:</strong></p>
  
  <pre><code>mex C:\...\mexLasso.cpp
  </code></pre>
  
  <p>I recieve the following error:</p>
  
  <pre><code>Error using mex
  mexLasso.cpp
  C:\...\mexLasso.cpp(33) : fatal error C1083: Cannot
  open include file: 'mexutils.h': No such file or directory
  </code></pre>
  
  <p>Can somebody help us what we are missing?</p>