UpdateFromDirectory - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.
Our website is currently undergoing maintenance, which may result in occasional errors while browsing. We apologize for any inconvenience this may cause and are working swiftly to restore full functionality. Thank you for your patience.

Online Help

All Products    Maple    MapleSim


LibraryTools

  

UpdateFromDirectory

  

update a library with all the .m files in a directory

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

UpdateFromDirectory( directory, archive, recurse )

Parameters

directory

-

string; directory to search for .m files

archive

-

string; Maple library

recurse

-

(optional) boolean; whether subdirectories are searched

Description

• 

The UpdateFromDirectory( directory, archive ) command searches directory and its subdirectories for .m files. It uses these files to update the library specified by archive.

• 

If archive is a directory, Maple assumes the default library name, maple.mla.  Otherwise, archive specifies the path and library name.

• 

The optional argument recurse can be used to turn off recursive searching of subdirectories.  If recurse is false, then only the specified directory is searched.

• 

Warnings are generated if the .m files do not exist in the library but searching continues.

• 

If directory does not exist, an error is generated.

• 

If archive does not specify the location of a  library, an error is generated.

Examples

withLibraryTools:

UpdateFromDirectory/home/maple/dotM,/home/maple/rep

UpdateFromDirectory/home/maple/dotMnorecurse,/home/maple/rep,false

See Also

LibraryTools

LibraryTools[AddFromDirectory]

LibraryTools[BuildFromDirectory]

march

save

savelib