What is the difference between the MATLAB Function block and the function block?
The MATLAB Function block can perform any function in MATLAB, whether it is a function you have written or one that comes with MATLAB. The Function block can use only a limited number of functions (the list of these functions can be found by clicking on Help in the function block). This block uses C routines to perform the calculations and is therefore very fast.