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 Kommentar

Geoff Hayes
Geoff Hayes am 28 Okt. 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

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Data Exploration finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 28 Okt. 2014

Kommentiert:

am 28 Okt. 2014

Community Treasure Hunt

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

Start Hunting!

Translated by