Problems using interp1 in GUI

hello,
i want to use the interp1 function in a callback function of my GUI. But it seems that interp1 does not get the inputvariables. I have set them global but there is still an error:
Interpolation requires at least two sample points in each dimension.
the code works well outside of the callback function.

1 Comment

Sebastian - please post some of your code (i.e. that from your callback) to indicate how you are using the global variables with respect to the interp1 function

Sign in to comment.

Answers (0)

Categories

Asked:

on 28 Oct 2014

Commented:

on 28 Oct 2014

Community Treasure Hunt

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

Start Hunting!