Fortran programs must have an END statement as the last executable statement. Fortran has Integers and Real numbers. Variables that begin with i, j, k, l, m, or n are by default integer. Arrays of up to 7 dimensions are allowed. READ statements are used to read from files or input from the keyboard.
Functions exist in both languages.
Fortran also has subroutines. Built-in functions in Fortran include the basic trig functions, exp, sqrt, min, max, etc. Many more functions are available in Matlab. If blocks are very similar. Do loops in Fortran are similar to for loops in matlab.