Watch this Author's files
Changes made using the Set Path dialog + "Save" are not revoked by "path(pathdef)"
why not simply: path(pathdef)
Contact us at files@mathworks.com