Thanks for your reply. In response to your questions;
1. Matlab worked fine before 2. I discovered this problem four days ago. I had to go back to my desktop to run this function. Today, it worked once when I copied the file from my pc, and saved the file with a different file name on my laptop. I thought that was it, but on subsequent attempts, the m-file would not run. 3. Yes 4. Yes 5. Yes 6. I am quite positive about that. I don't understand why the same m-file runs without any error on my desktop but fails completely on my laptop. 7. Error reads - "undefined function or variable". 8. I am not sure what else can I say about this.
Many thanks, Sundeep
"Jan Simon" <matlab.THIS_YEAR@nMINUSsimon.de> wrote in message <firstname.lastname@example.org>... > Dear teki, > > it would be helpful, if you give us a complete description of what has happened: > 1. Did Matlab work fine before? > 2. What has happened in between? > 3. Does "path" reply the expected toolbox folders? > 4. Do you have read access to these folders? > 5. Does WHICH find any of the toolbox functions? > 6. Are you sure that there are no naming conflicts? If so, why? > 7. Does Matlab provide any error messages, if yes, please post them. > 8. Further ideas of what might be helpful to identify the problem? > > Kind regards, Jan