MATLAB COMPILER RELEASE NOTES User's Guide Page 679

  • Download
  • Add to my manuals
  • Print
  • Page
    / 716
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 678
Mathematics
23-15
Mathematics
New Functions
The following functions are new in R14SP3:
Function Description
hypot Square root of sum of squares
mode Finds most frequent values in sample
Compatibility Considerations
A new function name can potentially introduce a backward incompatibility since it
can, under certain circumstances, override a variable with the same name as the new
function. This is especially true for names that are commonly used as variable names in
program code.
An example of such a function name is the mode function, introduced in this release. If
you have M-file programs that use mode as a variable name, it is possible under certain
conditions for MATLAB to interpret these variable names as function names by mistake.
Read the section Variable Names in the MATLAB Programming documentation to find
out how to avoid having these variables misinterpreted.
If your program code uses a user-written function named mode, you may find that
MATLAB calls the new MATLAB mode function instead of your own mode function.
To correct this, modify your MATLAB path by placing the location of your own mode
function closer to the beginning of the path string than the location of the MATLAB
mode.m file. The help for the addpath and rmpath functions explains how to modify your
MATLAB path.
Modified Functions
The following functions have been modified in MATLAB 7.1:
Function Modified Behavior
accumarray Allows more flexibility for input/output classes and functions to be
called
Page view 678
1 2 ... 674 675 676 677 678 679 680 681 682 683 684 ... 715 716

Comments to this Manuals

No comments