title: Integrating MATLAB with C#
body: <p>I am building an application which needs high response time in a real time environment. I know there are three methods to call MATLAB from C#:</p>
  
  <ol>
  <li>MATLAB Engine using COM automation</li>
  <li>.NET Assembly created in MATLAB using Builder for .NET</li>
  <li>C Shared library created in MATLAB using Compiler</li>
  </ol>
  
  <p>What are the differences between these methods in terms of speed (execution time)? Any comments about the relative security of the methods would also be appreciated.</p>
  
  <p>Thanks</p>