Undefined function or method 'som_read_data' for input arguments of type 'char'.

Hi,
I am a beginner, so I need help. I got message: Undefined function or method 'som_read_data' for input arguments of type 'char'
Error in ==> SOM_COUNTER_PROP_DEMO at 30 sDall = som_read_data('X_dataset.txt');
File name is ok.
Does anybody have good advice?

 Accepted Answer

Did you make sure that you added the directories for the SOM Toolbox to your MATLAB path?
You can use pathtool() to add them.

5 Comments

I set the path using matlab menu file/seth path/add folder ...
And than I got message Undefined function....
enter
>>which som_read_data
It seems that the folder that function is in, is not on the path
well, it is in the folder, which path is defined
is there any other possible cause for this error

Sign in to comment.

More Answers (0)

Categories

Find more on Programming in Help Center and File Exchange

Asked:

on 11 Oct 2013

Commented:

on 11 Oct 2013

Community Treasure Hunt

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

Start Hunting!