Effacer les filtres
Effacer les filtres

Undefined Function or Variable 'confusionchart'

8 vues (au cours des 30 derniers jours)
Nour Aburaed
Nour Aburaed le 27 Jan 2019
Modifié(e) : Stephan le 27 Jan 2019
I am following a simple confusion matrix tutorial. I keep getting the error "undefined function or variable 'confusionchart'". What could be the reason for this error? I am using Matlab R2018a.
[m, order] = confusionmat(target_,output_);
figure
cm = confusionchart(m,order);

Réponse acceptée

Stephan
Stephan le 27 Jan 2019
Modifié(e) : Stephan le 27 Jan 2019
Hi,
confusionchart was introduced in R2018b. Since you are using R2018a it is not available. Update to R2018b to use it.
To avoid this kind of problems, make sure to use the R2018a documentation.
Best regards
Stephan

Plus de réponses (0)

Produits


Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by