anyway to close cftool programmatically

5 views (last 30 days)
Yu Li
Yu Li on 28 Aug 2019
Commented: Yu Li on 10 Sep 2019
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)

Community Treasure Hunt

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

Start Hunting!