anyway to close cftool programmatically

3 views (last 30 days)
Hi:
is there anyway to close cftool programmatically?
Thanks!
Yu

Accepted Answer

Roshni Garnayak
Roshni Garnayak on 10 Sep 2019
You can use the following piece of code for closing “cftool”:
h = getappdata( groot, 'SurfaceFittingToolHandle' );
clearSessionChanged(h);
closeSftool(h)
Please be aware that this might not work in future releases of MATLAB.

More Answers (0)

Categories

Find more on Interpolation in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!