MATLAB COMPILER RELEASE NOTES User's Guide Page 527

  • Download
  • Add to my manuals
  • Print
  • Page
    / 716
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 526
Programming
19-27
Windows Current Working Directory Corrected
On Windows, you can define a current working directory, cwd, for each drive letter. For
example, entering the command cd D:\work at the DOS prompt defines your D current
working directory as D:\work. All references to D: are then relative to this directory.
The term . . . Represents the directory . . .
D: D:\work
D:matlab D:\work\matlab
D:\matlab D:\matlab
(Note the difference between D:\ and D:, where the former is the drive D, and the latter
is a user-defined working directory that may or may not be equal to D:\.)
Previous versions of MATLAB have been inconsistent in the way that volume-relative
path specification is handled. For example, in MATLAB 7.4 and earlier, if D: were
defined as the directory D:\work, the following commands on the left and right returned
identical results:
dir D: dir D:\
dir D:matlab dir D:\work\matlab
fileparts('D:myfile.m') fileparts('D:\myfile.m')
This has been fixed in MATLAB 7.5 so that the following are now equivalent:
dir D: dir D:\work
dir D:matlab dir D:\work\matlab
fileparts('D:myfile.m') fileparts('D:\work\myfile.m')
Compatibility Considerations
Some MATLAB commands may fail or return unexpected results if you use Windows
current working directories on MATLAB. You might have to update hard-coded paths if
you have been relying on the incorrect behavior exhibited in earlier versions.
New Multimedia Functionality
A new mmreader video file reader object for Windows platforms supports formats such as
AVI, MPEG, and WMV, and adds the ability to read additional video codecs that aviread
does not support. For more information, see the mmreader and read reference pages.
Page view 526
1 2 ... 522 523 524 525 526 527 528 529 530 531 532 ... 715 716

Comments to this Manuals

No comments