Home
[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index

Re: Genpath()

Herbert Ramoser wrote:

>> PS - A note to the MATLAB developers - is it really good practice for
>> addpath() to take a string of this form?
> 
> What is the problem with representing paths in this way? The path
> separator is identical to the ones used by your OS so there can not be
> any conficts.
> 
> Use strmatch(MyPaths, pathsep) to obtain the locations of the : Then use
> a loop to extract the individual paths.

I guess you are right. DOS uses semi-colons but, you see, in MATLAB it is
conventional to make use of the cell. Why shove all the data in a string?
That was at least my initial thought...

Roy

  • References:
    • Genpath()
      • From: Roy S Schestowitz <roy-dot-schestowitz-at-isbe-dot-man-dot-ac-dot-uk@use-address-before-at.com>
[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index