MATLAB: Smoothing Spline C/C++ Code Generation Support

code generationMATLABsimulinksmoothing spline

I would like to use the smoothing spline function spaps for production code via C/C++ code generation. There is no mention of support for code generation on the documentation page, can anyone confirm whether this can be used for this purpose?

Best Answer

Hi Sravan,
The curve fitting toolbox does not support code generation. However, the interpolation capabilities in core MATLAB do. Look at spline, interp1, smoothdata, ppval, et al.