combining cell and double type variables in dataset (version compatibility issue??)

I previously used Matlab R2010a and the following line were working:
[conf,classorder] = confusionmat(classtype3,classtype3OOB) disp(dataset({conf,classorder{:}},'obsnames',classorder));
now, I am using R2012b and I get an error message of:
Error using dataset (line 97) Cannot combine these items into a single DataSet object
is this a problem with matlab version? can anyone suggest a workaround?

回答 (1 件)

Peter Perkins
Peter Perkins 2012 年 9 月 24 日

0 投票

Based on that error message, I think perhaps you have another dataset class that is shadowing the one in the Statistics Toolbox that you are tyring to use.
I could be wrong. Type "which dataset -all".

この質問は閉じられています。

タグ

質問済み:

2012 年 9 月 24 日

閉鎖済み:

2021 年 8 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by