Error that makes no sense at all

1 回表示 (過去 30 日間)
Stephen Thompson
Stephen Thompson 2017 年 2 月 22 日
回答済み: Adam 2017 年 2 月 23 日
Suddenly the histogram function doesn't generate plots. I tested it with this:
>> x = randn(10000,1);
>> h = histogram(x)
Error using histogram
Too many input arguments.
What gives?
  6 件のコメント
Stephen Thompson
Stephen Thompson 2017 年 2 月 23 日
Indeed I had something added to my path with a histogram.m in it.
Steven Lord
Steven Lord 2017 年 2 月 23 日
In that case, Adam can you submit your comment as an answer so Stephen can accept that answer and give you credit?

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

回答 (1 件)

Adam
Adam 2017 年 2 月 23 日
What is the result of
which histogram -all
?
At a guess you have probably created your own function with that name

カテゴリ

Help Center および File ExchangeHistograms についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by