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!