Hi, When I run the program there was an error. The function 'histcountsmex' corresponding to the input parameter of type 'double' is not defined. My matlab version is 2014a.I have copy the histcounts function from 2015 version. what should I do?

 Akzeptierte Antwort

Guillaume
Guillaume am 18 Mai 2017
Bearbeitet: Guillaume am 18 Mai 2017

1 Stimme

If you have matlab 2015, then you should use that version.
If you do not, then I'm fairly certain that copying code from it is a violation of your license (i.e. it's illegal). Plus, as you found out it does not work.
You cannot use histcounts in 2014a, you have to use the function it replaced: histc

Weitere Antworten (0)

Kategorien

Mehr zu 数据分布图 finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 18 Mai 2017

Bearbeitet:

am 18 Mai 2017

Community Treasure Hunt

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

Start Hunting!