Using TriScatteredInterp function in simulink.

Hello, I have got following issue to solve. Let's say I have measured data and I want to interpolate those data. So I've used function F=TriScatteredInterp(x,y,z,'method') to create the interpolant F. And now I'm able to evaluate value of F at any point.
inter_data = F(a,b); Where x,z,y is measured data and inter_data,a,b are numbers.
But it isn't possible to use function F() in simulink embedded matlab code block because this function isn't supported in simulink.
My questions: Why can't I use F() function in simulink when i/o values are numbers?
I need this inter_data = F(a,b) in simulink very badly. Is there any possibility to do so?
Does it exist similar 3D interpolation method which is supported in simulink?
Thank you in advance.

Answers (0)

Asked:

on 12 Feb 2012

Community Treasure Hunt

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

Start Hunting!