This change has been incorporated into the documentation in Release 2010a (R2010a). For previous releases, read below for any additional information:
If your users have MATLAB installed, consider using PCODE. For more information, type "doc pcode" at your MATLAB command prompt.
If your users do not have MATLAB installed, then you should consider using the MATLAB Compiler, which will encrypt your MATLAB code before distributing it as a stand-alone executable. For more information on MATLAB Compiler, see the following URL: