Unable to resolve the name internal.s​tats.stats​izechk.

34 ビュー (過去 30 日間)
Haren Sunil Panchal
Haren Sunil Panchal 2021 年 3 月 13 日
編集済み: Charles Guan 2021 年 3 月 23 日
clear all;
close all;
clc;
nr = 0;
n = 10e5;
a = normrnd(12, 0.06); % this is where im getting an error

回答 (1 件)

Alan Moses
Alan Moses 2021 年 3 月 16 日
You may try to uninstall and reinstall the Statistics and Machine Learning toolbox to see if that solves the issue.
  1 件のコメント
Charles Guan
Charles Guan 2021 年 3 月 23 日
編集済み: Charles Guan 2021 年 3 月 23 日
I also have this issue when I run unifrnd on MATLAB R2018b, Statistics and Machine Learning Toolbox 11.4.
I reinstalled the Statistics and Machine Learning toolbox but am still receiving the same error.
Fyi, MATLAB is able to find internal.stats.statsizechkM but not internal.stats.statsizechk . Not sure why?
The error I get
>> unifrnd(1,2)
Undefined variable "internal" or class "internal.stats.statsizechk".
Error in unifrnd (line 23)
[err, sizeOut] = internal.stats.statsizechk(2,a,b,varargin{:});

サインインしてコメントする。

Community Treasure Hunt

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

Start Hunting!

Translated by