Generate code from 'pchip' function
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
fabio
am 22 Apr. 2014
Beantwortet: Ryan Livingston
am 30 Apr. 2014
Hi ,
i would like to generate c code of the interpolating function 'pchip'. I tested that function with coder.screener and it says it's ready for code generation. But when i build pchip.m file i get the error:
"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."
Pease can anyone help me ? i really need this function for a program i'm writing. i'm using matlab r2013a.
thanks in advance.
0 Kommentare
Akzeptierte Antwort
Ryan Livingston
am 30 Apr. 2014
Code generation support for PCHIP and other interpolation routines were added in R2014a if you are able to upgrade:
See the bullet labelled:
Code generation for fminsearch optimization function and additional interpolation functions in MATLAB
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu MATLAB Coder finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!