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 件のコメント
Chris C
2016 年 7 月 13 日
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
回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Get Started with Curve Fitting Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!