[Matlab help] How to write and call a user define function?

Thread Starter


Joined Jun 8, 2009
Hi, I am a newbie. I want to use user defined function in my amtlab script. Do you tell me how to write a user defined function? Usually when we placed a user defined function script in same directory we can directly use it by simply calling it, but i want to make a directory called 'function' and want to call the function from the directory how can i do this? Wating for your reply...