 Firstly it has to be a function (More info below)
 
 mcc -m RiskCalculator
 
 
 http://www.me.pdx.edu/~gerry/MATLAB/programming/basics.html 
 The first line of a function m-file must be of the following form. 
     function [output_parameter_list] = function_name(input_parameter_list)
 
 The first word must always be ``function''. Following that, the (optional) output parameters are enclosed in square brackets [ ]. If the function has no output_parameter_list the square brackets and the equal sign are also omitted. The function_name is a character string that will be used to call the function. The function_name must also be the same as the file name (without the ``.m'') in which the function is stored. In other words the MATLAB function, ``foo'', must be stored in the file, ``foo.m''. Following the file name is the (optional) input_parameter_list. 
 There can exactly be one MATLAB function per m-file. 
 
