How to include "interp3" into Embedded Matlab

4 visualizaciones (últimos 30 días)
Pengfei
Pengfei el 19 de Jul. de 2012
I need to use the 3-D interpolation function "interp3" into one of my embedded Matlab block of my Simulink model. This function is not supported by embedded Matlab. I know we can declare it as "coder.extrinsic('interp3')". But when the block output is the function output of "interp3", it doesn't work anymore. It gives the following error:
"Failed to eliminate a call to the MATLAB function 'interp3'. For non-simulation builds, calls to unsupported MATLAB functions are eliminated if they do not affect function outputs."
What's the way to handle this problem? I shouldn't be the first one to try to do a 3-D interpolation inside embedded Matlab, right?
Many Thanks!

Respuestas (0)

Categorías

Más información sobre Interpolation en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by