How To Save Matlab File To Computer, Function with One Output Define a function in a file named calculateAverage.