Curve fitter tool does not work
8 views (last 30 days)
Show older comments
Goodmornig, I have a problem with the Curve fitter tool in Matlab. I used it previously without any problem, but now it doesn't let me click on anything. In the window apps I click on the Curve fitter tab, and after openng it it doesn't let me click on anything, apart from save and open it's all grayed out. As per the attached image.
In the command window the following warning is shown:
Warning: The following error was caught while executing
'cfapp.internal.curvefitter.ui.fitfigure.FitFigurePresenter' class destructor:
Dot indexing is not supported for variables of this type.
Error in cfapp.internal.curvefitter.ui.fitfigure.FitFigurePresenter/get.Configuration (line 174)
config.ResidualsConfig.Visible = this.ResidualsPanelPresenter.PanelVisible;
Error in cfapp.internal.curvefitter.ui.fitfigure.FitFigurePresenter/delete (line 160)
config = this.Configuration;
Error in cfapp.internal.curvefitter.ui.fitfigure.FitFigurePresenter (line 111)
this.View = view;
Error in cfapp.internal.curvefitter.ui.fitfigure.FitFigureFactory/createFitFigurePresenter (line 9)
fitFigurePresenter = cfapp.internal.curvefitter.ui.fitfigure.FitFigurePresenter(view,session,
fitdev, config, mainThreadBusyTracker);
Error in cfapp.internal.curvefitter.Session/createFitFigure (line 386)
fitFigurePresenter = this.FitFigureFactory.createFitFigurePresenter(this,
this.CFAppContainer, hFitdev, config, this.MainThreadBusyTracker);
Error in cfapp.internal.curvefitter.Session/fitAddedCallback (line 282)
this.createFitFigure(event.HFitdev,[]);
Error in cfapp.internal.curvefitter.Session>@(varargin)this.fitAddedCallback(varargin{:}) (line 105)
this.addListener(this.FitsManager, 'FitAdded', @this.fitAddedCallback);
Error in cfapp.internal.curvefitter.model.FitsManager/newFit (line 44)
notify (this, 'FitAdded', cfapp.internal.curvefitter.FitEventData( hFitdev ));
Error in cfapp.internal.curvefitter_v1 (line 73)
h.Session.FitsManager.newFit( [] );
Error in curveFitter>iStartCurveFitter (line 48)
application = cfapp.internal.curvefitter_v1( variables, names );
Error in curveFitter (line 39)
theApplication = iStartCurveFitter( varargin, names );
> In cfapp.internal.curvefitter.ui.fitfigure.FitFigurePresenter (line 111)
In cfapp.internal.curvefitter.ui.fitfigure/FitFigureFactory/createFitFigurePresenter (line 9)
In cfapp.internal.curvefitter/Session/createFitFigure (line 386)
In cfapp.internal.curvefitter/Session/fitAddedCallback (line 282)
In cfapp.internal.curvefitter.Session>@(varargin)this.fitAddedCallback(varargin{:}) (line 105)
In cfapp.internal.curvefitter.model/FitsManager/newFit (line 44)
In cfapp.internal.curvefitter_v1 (line 73)
In curveFitter>iStartCurveFitter (line 48)
In curveFitter (line 39)

I don't know what is happening...
Thank you for the help
1 Comment
dpb
on 11 Dec 2022
Try executing
clear cftool
first, then try again.
If that doesn't solve the problem; save your workspace if you have variables hard to regenerate and exit/restart the MATLAB session.
If that still doesn't fix it, you probably will need to reinstall the app.
Answers (0)
See Also
Categories
Find more on Get Started with Curve Fitting Toolbox 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!