Symbolic Math Toolbox | ![]() ![]() |
Syntax
procread('filename')
Description
procread('
filename
')
reads the specified file, which should contain the source text for a Maple procedure. It deletes any comments and newline characters, then sends the resulting string to Maple.
Examples
Suppose the file ident.src
contains the following source text for a Maple procedure.
ident := proc(A) # ident(A) computes A*inverse(A) local X; X := inverse(A); evalm(A &* X); end;Then the statement
procread('ident.src')installs the procedure. It can be accessed with
maple('ident',magic(3))or
maple('ident',vpa(magic(3)))
See Also
maple
![]() | pretty | rank | ![]() |