title: How can I call a function in C++
body: <p>I have called a C++ function from matlab.<br>
  I do not know how to run in C++ 2010</p>
  
  <p>in matlab the function command is</p>
  
  <pre><code>&gt;&gt; y = kalman01(z);
  </code></pre>
  
  <p>in C++, I know only this one</p>
  
  <pre><code>void kalman01(const double z[2], double y[2])
  </code></pre>
  
  <p>so How I use <code>kalman01.cpp</code> to pass an input to get output and display output <code>y</code>?</p>