help in using doc2mat

Hi, I have some questions about doc2mat program:

When I download doc2mat file, I reciev 4 files: "README", "ds1.raw", "doc2mat.html", and "doc2mat".

According to README I changed first line of "doc2mat" to where this file exists(I changeed the first line using Notepad). But I can't run this program in command line.

How should I change the first line?

I will be so glad if anybody answers me

RE: Since you are using notepad,

Since you are using notepad, it will appear that you are running on windows. I suggest you run the script on a linux machine (or within cygwin). However, if you are running on linux/cygwin, then make sure that the script is executable (i.e., chmod +x doc2mat).