Symbolic Math Toolbox | ![]() ![]() |
Precompiled Maple Procedures
When Maple loads a source (ASCII text) procedure into its workspace, it compiles (translates) the procedure into an internal format. You can subsequently use the maple
function to save the procedures in the internal format. The advantage is you avoid recompiling the procedure the next time you load it, thereby speeding up the process.
For example, you can convert the pie.src
procedure developed in the preceding example to a precompiled Maple procedure, using the commands
The clear maplemex
command resets the Maple workspace to its initial state. Since the Maple save
command saves all variables in the current session, we want to remove extraneous variables. Note that you must use back quotes around the function name.
To read the precompiled procedure into a subsequent MATLAB session, type
Again, as with the ASCII text form, you can access the function using maple
:
Note that precompiled Maple procedures have .m
extensions. Hence, you must take care to avoid confusing them with MATLAB M-files, which also have .m
extensions.
![]() | Procedure Example | Function Reference | ![]() |