MATLAB Answers

Basic Fitting tool not working

11 views (last 30 days)
Ran Joseph Swisa
Ran Joseph Swisa on 29 May 2020
Answered: Gaurav Garg on 3 Jun 2020
I tried fitting a graph to some data using the basic fitting tool option but recived the following errors:
MathWorks::System::IUserException [Error using fileread (line 23)
Could not open file C:\Users\ \AppData\Roaming\MathWorks\MATLAB\R2020a\thisMatlab.pem. No such file or directory.
Error in matlab.internal.cef.webwindow (line 167)
cert = char(fileread(certLoc));
Error in matlab.internal.webwindow/createImplementation (line 288)
implObj = matlab.internal.cef.webwindow(varargin{:});
Error in matlab.internal.webwindow (line 144)
obj.impl = obj.createImplementation(varargin{:});
Error in matlab.ui.internal.controller.platformhost.CEFFigurePlatformHost/createView (line 60)
this.CEF = matlab.internal.webwindow(peerModelInfo.URL, peerModelInfo.DebugPort, position);
Error in matlab.ui.internal.controller.FigureController/createView (line 261)
this.PlatformHost.createView(this.PeerModelInfo, pos, title, visible, resizable, windowState);
Error in matlab.ui.internal.componentframework.WebComponentController/add (line 75)
obj.createView( parentController, parentView, map );
Error in matlab.ui.internal.controller.WebCanvasContainerController/add (line 51)
add@matlab.ui.internal.componentframework.WebContainerController( this, webComponent, parentController );
Error in matlab.ui.internal.componentframework.WebControllerFactory/create (line 94)
component.createController( parentController, [] );
Error in matlab.ui.internal.dialog.DialogHelper.validateUIfigure (line 32)
drawnow; % To draw and get ID after update
Error in matlab.ui.dialog.ProgressDialog (line 44)
[hUIFigure, figureID] = matlab.ui.internal.dialog.DialogHelper.validateUIfigure(f);
Error in uiprogressdlg (line 33)
progressDialog = matlab.ui.dialog.ProgressDialog(hUIFigure, varargin{:});
Error in datamanager.basicfit.BasicFitDialog/createComponents
Error in datamanager.basicfit.BasicFitDialog
Error in datamanager.basicfit.BasicFittingManager
Error in bfit (line 41)
bf = datamanager.basicfit.BasicFittingManager(figHandle);
Error in basicfitdatastat (line 9)
feval(action,varargin{:});
Error in toolsmenufcn (line 250)
basicfitdatastat('bfit', hfig, 'bf');]
Can someone help me with this problem?

  0 Comments

Sign in to comment.

Answers (1)

Gaurav Garg
Gaurav Garg on 3 Jun 2020
Hey Ran,
You can try re-installing the 'Basic Fitting Tool'.
You could also try by deleting R2020a folder in C:\Users\ \AppData\Roaming\MathWorks\MATLAB - link, or refreshing the file system caches - link.
in case, none of the above options work, you should try re-installing MATLAB.

  0 Comments

Sign in to comment.


Translated by