Wednesday, March 18, 2009

Using Maple in command line

In Command-line Maple, type following command to execute the input file:

read "D:/model.mpl";

Also we can use following command to redirect the output to a text file:

[Installation Folder]\Maple 12\bin.win\cmaple.exe "D:/model.mpl" > res.txt

1 comment:

  1. When using command line maple, the input file path must be separated with '/'. If using windows' splitter '\' or even write as "\\", it doesn't work. At least, I haven't succeeded with '\' and "\\".

    ReplyDelete

Google+