Curve fitting toolbox non funziona solo sul mio ASUS zenbook pro 15
Show older comments
I'm working with other people on the same code, it works for everybody except me. We had to download Curve fitting toolbox, they can use the program perfectly while i can't. My code work only if I cancel the part where i use the Curve fitting toolbox.
It work on my brother's pc, that is an hp. My pc is an ASUS zenbook pro 15, is this the problem?
Matlab version: R2022a
ASUS zenbook pro 15
Inter® Core™ i7-10870H CPU
RAM 16 GB
Intel® UHD Graphics
NVIDIA GeForce GTX 1650 Ti with Max-Q Design
windows 10 home
Please help me, I'm desperate.

Answers (1)
Infinite_king
on 11 Oct 2023
Edited: Infinite_king
on 11 Oct 2023
Hi Denise Zin,
I understand that you are not able to use the ‘Curve Fitting Toolbox’ functions.
This is possibly because of missing other required toolboxes. Try following troubleshooting steps,
- ‘logncdf’ function requires ‘Statistics and Machine Learning Toolbox’, check If you have installed this toolbox. You can use the below command to get the list of installed toolboxes.
addons = matlab.addons.installedAddons
- If the ‘Statistics and Machine Learning Toolbox’ is not in the list, then you have to install this toolbox. To install the toolbox, you can use Add-On Explorer,
a. Open Add-On Explorer
b. In the search box, type ‘statistic and machine learning’.
c. Open the first result and select ‘install’ option
- If you don’t have licence to ‘Statistics and Machine Learning Toolbox’ alternatively you can use the custom function given in the following MATLAB Answer :- https://in.mathworks.com/matlabcentral/answers/1902695-problem-with-undefined-function#:~:text=An%20alternative%20without%20the%20toolbox
- The toolboxes are usually installed in predetermined default directories. If the Search path is changed or the toolbox cache is corrupted, then the MATLAB cannot find the toolboxes and will think the toolboxes are not installed. Repair the ‘Search path’ by using following commands.
restoredefaultpath
rehash toolboxcache
For more information on how to manage Add Ons, refer the following MATLAB Answer:- https://www.mathworks.com/matlabcentral/answers/93913-how-can-i-determine-what-add-ons-i-have-installed#:~:text=Using%20the%20Add%2DOn%20Manager%C2%A0
For more information on how to install toolboxes, refer to the following MATLAB Answer :- https://in.mathworks.com/matlabcentral/answers/101885-how-do-i-install-additional-toolboxes-into-an-existing-installation-of-matlab?s_tid=answers_rc1-1_p1_Topic
For more information on Statistic and Machine learning toolbox and Curve fitting toolbox, refer the following resources,
- https://www.mathworks.com/products/curvefitting.html
- https://www.mathworks.com/products/statistics.html
Hope this is helpful.
Categories
Find more on Introduction to Installation and Licensing 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!