Problems using interp1 in GUI
Show older comments
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
Geoff Hayes
on 28 Oct 2014
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
Answers (0)
Categories
Find more on Data Exploration in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!