How to include "interp3" into Embedded Matlab

조회 수: 2 (최근 30일)
Pengfei
Pengfei 2012년 7월 19일
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