Statistics and Machine Learning Toolbox.

20 次查看(过去 30 天)
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 个评论
Adrienne Propp
Adrienne Propp 2022-3-4
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!
Walter Roberson
Walter Roberson 2022-3-4
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
------------------------------------------------------------------------------------------------------ MATLAB Version: 9.11.0.1847648 (R2021b) Update 2 MATLAB License Number: Operating System: Linux 4.14.215-0414215-generic #202101122110 SMP Tue Jan 12 21:59:53 UTC 2021 x86_64 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)

请先登录,再进行评论。

回答(2 个)

Gouri Chennuru
Gouri Chennuru 2020-12-14
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
Camilo Cárdenas 2024-4-15
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 个评论
Steven Lord
Steven Lord 2024-4-15
Are you running MATLAB offline? I believe there was an issue that might be related; see the following MATLAB Answers post.
Camilo Cárdenas
Camilo Cárdenas 2024-4-15
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

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by