Using cftool in a function with a little UI

Hello,
I made a function that plots one curve from my data set with a fitted curve. On the figure, I put 3 pushbuttons : "Yes" to validate the fit and store it to one file. "No" to reject the fit and store it to a different file. "Fit" to open cftool, modify the fit with the curve fitting toolbox GUI.
My problem is that when cftool is opened like this from my function, it doesn't work. I use cftool(x,y). It opens the tool box with the 'x' and 'y' data. But I cannot make a new fit or a new exclusion. I can still close the toolbox or navigate through the menus, but no fitting action is possible.
Any ideas why the toolbox doesn't work properly ? Please tell me if you need more details from the function I wrote. I don't see where the problem comes from so I might not tell you relevant information.
Thanks !
Lucile

1 comentario

Chris C
Chris C el 13 de Jul. de 2016
Hey Lucile,
I've got a similar issue as well, where i'm trying to get cftool to open function variables. Did you ever find a workaround? If not, I'll keep looking, or hopefully someone gives us an answer. keep any eye on my post: https://www.mathworks.com/matlabcentral/answers/295255-function-variable-cftool-import-data
- chris

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Get Started with Curve Fitting Toolbox en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 5 de Mayo de 2011

Comentada:

el 13 de Jul. de 2016

Community Treasure Hunt

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

Start Hunting!

Translated by