how use Curve Fitting functions in Matlab coder?

조회 수: 5 (최근 30일)
mel Samia
mel Samia 2017년 7월 24일
답변: Mike Hosea 2017년 7월 26일
Hello,
I used functions from Curve Fitting toolbox for the extrapolation in my script, I have to generate this code in C but the functions of Curve Fitting toolbox are not supported for standalone code generation. Is There libraries for C that contains the functions exists in the Curve Fitting toolbox ?

채택된 답변

Mike Hosea
Mike Hosea 2017년 7월 26일
I'm not sure what you need. MATLAB Coder does support the SPLINE, PCHIP, and PPVAL.
I don't know that much about what C libraries can be found for that, and seems to me that a forum about MATLAB is perhaps not the best place even to ask that sort of question, but back in the old days, if we didn't write it ourselves, we'd go to www.netlib.org and search for something. There are some least squares codes there, for example. Most of what's there is going to be in FORTRAN, but the old school solution to that was to convert them to C with F2C.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB Coder에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by