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 commentaire

Geoff Hayes
Geoff Hayes le 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

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Data Exploration dans Centre d'aide et File Exchange

Question posée :

le 28 Oct 2014

Commenté :

le 28 Oct 2014

Community Treasure Hunt

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

Start Hunting!

Translated by