No histcountsmex function found

5 visualizzazioni (ultimi 30 giorni)
Nina
Nina il 18 Mag 2017
Modificato: Guillaume il 18 Mag 2017
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?

Risposta accettata

Guillaume
Guillaume il 18 Mag 2017
Modificato: Guillaume il 18 Mag 2017
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

Più risposte (0)

Categorie

Scopri di più su MATLAB 快速入门 in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!