Often Matlab users like to call functions for various purposes which are already saved in the directory without looking at them. However, it would be easy to follow the functions if the functions are written on the same code from where they are called. This tutorial shows how to write multiple functions in the same code and call them.