Yes I was able to concatenate all the functions I needed in one file and run it (for some reason the 'eq' function doesn't seem to work). But there seems to be another problem, matlab coder won't work with cell arrays so I guess I am out of luck. But thanks any way.
In theory nothing prevents you from concatenating all the methods file in the class main file, inside a 'methods' block. Except that it would make the code completely unreadable and unmaintainable. I did this mistake once for another contribution (the msdanalyzer) and won't do it again.
Hi Jean-Yves, I am trying to compile my project using matlab coder and it is returning error "Cannot load '.../tree/@tree/tree.m' because code generation does not support classes and enumerations in @-directories." So the problem seems to be the @-directory which is needed for a multi-file class definition. Would you have any idea how to convert it into a single file class def?
I'm sorry you aren't able to read/interpret the file description: "... The arguments are the desired number of selected features (feat_numb), a matrix X, in which each column is a feature vector example...".
what is the meaning "15" in Hy=entropia2([y;zeros(1,C)],15)?
Moreover, the Y dimension is not matched with zeros(1,C). because the Dimension of C is equal with number of features whereas the dimension of y is equal the number of input pairs.
So, there is a mismatch dimension to vertcat!
How we can solve this problem?