title: How to convert matlab function 'pchip' to c code with matlab coder
body: <p>I have a problem with Matlab Coder. I would like to generate C code from Matlab interpolating function <code>pchip</code>. I verified the function with <code>coder.screener</code> and it says it's available for code generation but when I try to build <code>pchip.m</code> file I get this error:</p>
  
  <blockquote>
    <p>The function 'pchip' is not supported for standalone code generation. See the documentation for coder.extrinsic to learn how you can use this function in simulation.</p>
  </blockquote>
  
  <p>Can anyone help me? I really need to convert this function in C for a program I am writing.</p>