Statistics and Machine Learning Toolbox.
Mostrar comentarios más antiguos
I see this massege ('prctile' requires Statistics and Machine Learning Toolbox) when I use R2020a even when I downloaded Statistics and Machine Learning Toolbox,I still got this message.
3 comentarios
Image Analyst
el 10 de Dic. de 2020
Show your code so I can test it. Otherwise tell me what you see if you run this:
% Check that user has the specified Toolbox installed and licensed.
%hasLicenseForToolbox = license('test', 'image_toolbox'); % Check for Image Processing Toolbox.
% hasLicenseForToolbox = license('test', 'Image_Acquisition_Toolbox'); % Check for Image Acquisition Toolbox.
hasLicenseForToolbox = license('test', 'Statistics_Toolbox'); % Check for Statistics and Machine Learning Toolbox.
% hasLicenseForToolbox = license('test', 'Signal_Toolbox'); % Check for Signal Processing Toolbox.
% hasLicenseForToolbox = license('test', 'Video_and_Image_Blockset'); % Check for Computer Vision System Toolbox.
% hasLicenseForToolbox = license('test', 'Neural_Network_Toolbox'); % Check for Deep Learning Toolbox.
if ~hasLicenseForToolbox
% User does not have the toolbox installed, or if it is, there is no available license for it.
% For example, there is a pool of 10 licenses and all 10 have been checked out by other people already.
ver % List what toolboxes the user has licenses available for.
message = sprintf('Sorry, but you do not seem to have the Statistics and Machine Learning Toolbox.\nDo you want to try to continue anyway?');
reply = questdlg(message, 'Toolbox missing', 'Yes', 'No', 'Yes');
if strcmpi(reply, 'No')
% User said No, so exit.
return;
end
else
msgbox('You have the Statistics and Machine Learning Toolbox');
end
Adrienne Propp
el 4 de Mzo. de 2022
It tells me that I have it installed, but every time I try to run code depending on it, Matlab tells me i need to install it. Please advise. Thank you!
That code tests whether you are licensed for the toolbox; it does not test whether you have the toolbox installed. To test whether you have it installed, use
ver stats
Respuestas (2)
Gouri Chennuru
el 14 de Dic. de 2020
0 votos
Hi Ishaq,
In order to make use of prctile function available in MATLAB you should have statistics and machine learning toolbox installed at your end.
To check whether statistics and machine learning toolbox is installed. Open your MATLAB Command prompt and execute ver comamnd which displays licensing information and indicates which products are installed.
Also make sure that other product requirements needed for statistics and machine learning toolbox are installed.
Here is the link in order access the product requirements for statistics and machine learning toolbox.
Hope this Helps!
Camilo Cárdenas
el 15 de Abr. de 2024
0 votos
hello,
I am also getting the error "prctile requires a Statistics_Toolbox license.".
Even though I have the statistics toolbox installed.
***
>> ver stats
-----------------------------------------------------------------------------------------------------
MATLAB Version: 9.11.0.1769968 (R2021b)
MATLAB License Number: XXXXXX
Operating System: Microsoft Windows 10 Education Version 10.0 (Build 19045)
Java Version: Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
-----------------------------------------------------------------------------------------------------
Statistics and Machine Learning Toolbox Version 12.2 (R2021b)
>>
***
The most striking thing is that this function is in an app I made with Appdesigner two years ago. At that time it worked without any problem, now it presents this problem.
Any advice?
Thanking in advance.
Ccarden
2 comentarios
Steven Lord
el 15 de Abr. de 2024
Are you running MATLAB offline? I believe there was an issue that might be related; see the following MATLAB Answers post.
Camilo Cárdenas
el 15 de Abr. de 2024
thank you for your advice. My PC (win10) is online and I am using a personal license. I am going tpo try tomorrow in another win10-PC but working with a sertver license and with Matlab 2023 and I will report wjat happen
Chers
Categorías
Más información sobre Introduction to Installation and Licensing en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!