Using cftool in a function with a little UI
Afficher commentaires plus anciens
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 commentaire
Chris C
le 13 Juil 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
Réponses (0)
Catégories
En savoir plus sur Get Started with Curve Fitting Toolbox dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!