systemprompt> matlab < yourmfile.m
Of course, "yourmfile.m" should be self sufficient with necessary data formats, inputs, and outputs correctly defined.
This allows Matlab routines to be placed in data modeling or processing streams controlled by shell scripts.
Alternatively, UNIX system calls can be made from Matlab using the "shell escape" function - please see the manual for details.
Matlab WebSite: http://www.mathworks.com/