How to include "interp3" into Embedded Matlab

4 次查看(过去 30 天)
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!

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Interpolation 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by