MATLAB COMPILER RELEASE NOTES User's Guide Page 648

  • Download
  • Add to my manuals
  • Print
  • Page
    / 716
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 647
R2006a
22-18
For example, to use the Intel YUV codec, use the four-CC code:
aviobj = avifile('myvideo.avi', 'compression', 'IYUV');
Other codecs can be found at http://fourcc.org.
Note there are restrictions with some codecs. For example, some codecs can only be used
with grayscale images.
Regular Expressions
MATLAB 7.2 introduces the following new features for regular expressions in MATLAB.
For more information on these features, see Regular Expressions in the MATLAB
Programming documentation.
New Features
Dynamic regular expressions — You can now insert MATLAB expressions or
commands into regular expressions or replacement strings. The dynamic part of the
expression is then evaluated at runtime.
Generating literals in expressions — Use the new regexptranslate function when
you want any of the MATLAB regular expression functions to interpret a string
containing metacharacters or wildcard characters literally.
New parsing modes — Four matching modes (case-sensitive, single-line, multiline,
and freespacing) extend the parsing capabilities of the MATLAB regular expression
functions.
Warnings display — Use the new 'warnings' option with the regular expression
functions to enable the display of warnings that are otherwise hidden.
Compatibility Considerations
Calling regexp or regexpi with the 'tokenExtents' and 'once' options specified now
returns a double array instead of a cell array. You may need to change your code to
accommodate the new return type.
Setting Environment Variables
Use the new setenv function to set the value of an environment variable belonging to the
underlying operating system.
Page view 647
1 2 ... 643 644 645 646 647 648 649 650 651 652 653 ... 715 716

Comments to this Manuals

No comments