matlab 2019b basic fittinng error with bfitcalcfit and 'pp''

I am experiencing an error with my matlab v.2019b
I try to do a basic fitting linear regression through the plot graph window, while the error appears:
"Error executing Basic fitting: Output argument "pp" (maybe others) not assigned during call to "bfitcalcfit".
I try to use the solution described on this post:
while it does not work for my PC. and I also try to close the software and reopen and write again the commands.
Could you have any suggestions? how I can resolve this. It was similar to my v.2018, which i hope it would have been resolved after the update. I use a university licenced version.

Answers (1)

Hi Kostas,
There is something wrong with your mathlab path.
These steps should help
>> which -all pathdef
>> restoredefaultpath
>> rehash toolboxcache
In case it doesn't work can try to clean reinstall the support package you are using by following these steps or clean reinstallation of matlab by referring to these steps.
As the most probable cause of this could be corrupted path or installation.

Categories

Products

Release

R2019b

Answered:

on 26 Mar 2020

Community Treasure Hunt

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

Start Hunting!