How to include "interp3" into Embedded Matlab

4 ビュー (過去 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 Center および File ExchangeInterpolation についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by