I got the solution. this is I have written the m file and embeded with path. I executes properly. The one problem is still there.
The neural network get training in every executuion. I need once it is trained it should work for the rest.
Kindly help
Please please